2
2
// ======================================
3
3
4
4
import {
5
- IsWellFormedCurrencyCode ,
5
+ IsWellFormedCurrencyCode
6
6
} from "./6.locales-currencies-tz.js" ;
7
7
8
8
import {
9
- Intl ,
9
+ Intl
10
10
} from "./8.intl.js" ;
11
11
12
12
import {
13
13
CanonicalizeLocaleList ,
14
14
SupportedLocales ,
15
15
ResolveLocale ,
16
16
GetNumberOption ,
17
- GetOption ,
17
+ GetOption
18
18
} from "./9.negotiation.js" ;
19
19
20
20
import {
@@ -33,14 +33,14 @@ import {
33
33
getInternalProperties ,
34
34
createRegExpRestore ,
35
35
secret ,
36
- objCreate ,
36
+ objCreate
37
37
} from "./util.js" ;
38
38
39
39
// Currency minor units output from get-4217 grunt task, formatted
40
40
const currencyMinorUnits = {
41
41
BHD : 3 , BYR : 0 , XOF : 0 , BIF : 0 , XAF : 0 , CLF : 4 , CLP : 0 , KMF : 0 , DJF : 0 ,
42
42
XPF : 0 , GNF : 0 , ISK : 0 , IQD : 3 , JPY : 0 , JOD : 3 , KRW : 0 , KWD : 3 , LYD : 3 ,
43
- OMR : 3 , PYG : 0 , RWF : 0 , TND : 3 , UGX : 0 , UYI : 0 , VUV : 0 , VND : 0 ,
43
+ OMR : 3 , PYG : 0 , RWF : 0 , TND : 3 , UGX : 0 , UYI : 0 , VUV : 0 , VND : 0
44
44
} ;
45
45
46
46
// Define the NumberFormat constructor internally so it cannot be tainted
@@ -58,12 +58,12 @@ export function NumberFormatConstructor () {
58
58
defineProperty ( Intl , 'NumberFormat' , {
59
59
configurable : true ,
60
60
writable : true ,
61
- value : NumberFormatConstructor ,
61
+ value : NumberFormatConstructor
62
62
} ) ;
63
63
64
64
// Must explicitly set prototypes as unwritable
65
65
defineProperty ( Intl . NumberFormat , 'prototype' , {
66
- writable : false ,
66
+ writable : false
67
67
} ) ;
68
68
69
69
/**
@@ -89,7 +89,7 @@ export function /*11.1.1.1 */InitializeNumberFormat (numberFormat, locales, opti
89
89
// NOTE: Non-standard, for internal use only
90
90
if ( arguments [ 0 ] === secret )
91
91
return internal ;
92
- } ,
92
+ }
93
93
} ) ;
94
94
95
95
// 2. Set the [[initializedIntlObject]] internal property of numberFormat to true.
@@ -321,7 +321,7 @@ function CurrencyDigits(currency) {
321
321
/* 11.2.3 */ internals . NumberFormat = {
322
322
'[[availableLocales]]' : [ ] ,
323
323
'[[relevantExtensionKeys]]' : [ 'nu' ] ,
324
- '[[localeData]]' : { } ,
324
+ '[[localeData]]' : { }
325
325
} ;
326
326
327
327
/**
@@ -361,7 +361,7 @@ defineProperty(Intl.NumberFormat, 'supportedLocalesOf', {
361
361
// (defined in 9.2.8) with arguments availableLocales, requestedLocales,
362
362
// and options.
363
363
return SupportedLocales ( availableLocales , requestedLocales , options ) ;
364
- } , internals . NumberFormat ) ,
364
+ } , internals . NumberFormat )
365
365
} ) ;
366
366
367
367
/**
@@ -371,7 +371,7 @@ defineProperty(Intl.NumberFormat, 'supportedLocalesOf', {
371
371
*/
372
372
/* 11.3.2 */ defineProperty ( Intl . NumberFormat . prototype , 'format' , {
373
373
configurable : true ,
374
- get : GetFormatNumber ,
374
+ get : GetFormatNumber
375
375
} ) ;
376
376
377
377
function GetFormatNumber ( ) {
@@ -891,7 +891,7 @@ let numSys = {
891
891
tamldec : [ '\u0BE6' , '\u0BE7' , '\u0BE8' , '\u0BE9' , '\u0BEA' , '\u0BEB' , '\u0BEC' , '\u0BED' , '\u0BEE' , '\u0BEF' ] ,
892
892
telu : [ '\u0C66' , '\u0C67' , '\u0C68' , '\u0C69' , '\u0C6A' , '\u0C6B' , '\u0C6C' , '\u0C6D' , '\u0C6E' , '\u0C6F' ] ,
893
893
thai : [ '\u0E50' , '\u0E51' , '\u0E52' , '\u0E53' , '\u0E54' , '\u0E55' , '\u0E56' , '\u0E57' , '\u0E58' , '\u0E59' ] ,
894
- tibt : [ '\u0F20' , '\u0F21' , '\u0F22' , '\u0F23' , '\u0F24' , '\u0F25' , '\u0F26' , '\u0F27' , '\u0F28' , '\u0F29' ] ,
894
+ tibt : [ '\u0F20' , '\u0F21' , '\u0F22' , '\u0F23' , '\u0F24' , '\u0F25' , '\u0F26' , '\u0F27' , '\u0F28' , '\u0F29' ]
895
895
} ;
896
896
897
897
/**
@@ -916,7 +916,7 @@ let numSys = {
916
916
props = [
917
917
'locale' , 'numberingSystem' , 'style' , 'currency' , 'currencyDisplay' ,
918
918
'minimumIntegerDigits' , 'minimumFractionDigits' , 'maximumFractionDigits' ,
919
- 'minimumSignificantDigits' , 'maximumSignificantDigits' , 'useGrouping' ,
919
+ 'minimumSignificantDigits' , 'maximumSignificantDigits' , 'useGrouping'
920
920
] ,
921
921
internal = this !== null && typeof this === 'object' && getInternalProperties ( this ) ;
922
922
@@ -930,5 +930,5 @@ let numSys = {
930
930
}
931
931
932
932
return objCreate ( { } , descs ) ;
933
- } ,
933
+ }
934
934
} ) ;
0 commit comments