-
Notifications
You must be signed in to change notification settings - Fork 595
Closed
Description
When bundling for ES6 modules, the scripts are by default loaded in 'strict mode'. The number formatting in globalize seems to be violating strict mode in these lines:
properties[ 2 ] = negativeSuffix[ 2 ] = 1; // minimumIntegerDigits
properties[ 3 ] = negativeSuffix[ 3 ] = 0; // minimumFractionDigits
properties[ 4 ] = negativeSuffix[ 4 ] = 0; // maximumFractionDigits
It fails with TypeError: Cannot create property '2' on string ''
Metadata
Metadata
Assignees
Labels
No labels