David's public fiddles
-
Rk994
No-Library (pure JS), HTML, CSS, JavaScript
-
H5kLD
No-Library (pure JS), HTML, CSS, JavaScript
-
is space before % non-breaking
IE11 adds a space between the number and the percent sign when using en-US and NumberFormat. Is it non-breaking?
-
Format the date in Arabic
No-Library (pure JS), HTML, CSS, JavaScript
-
enable and disable thousand seperators
Demo showing the 2 values for useGrouping. If set to false no thousand separators are used. The default is true.
-
Arabic style: "percent" bug
"Should be suffixed with ARABIC PERCENT SIGN “٪”. Uses latin % instead.
-
Style options
Demo showing the 3 values for style. If style is set to currency, the currency option must also be set, as there is no default.
-
Options for currencyDisplay
Format a currency in USD with the various currency display options.
-
JnyGX
No-Library (pure JS), HTML, CSS, JavaScript
-
NumberFormat in various locales
No-Library (pure JS), HTML, CSS, JavaScript
-
ECMAScript Internationalization API support
Tests to see if the Internationalization API is supported.
-
2G3WJ
No-Library (pure JS), HTML, CSS, JavaScript
-
A3jVm
No-Library (pure JS), HTML, CSS, JavaScript
-
XqGKg
No-Library (pure JS), HTML, CSS, JavaScript
-
Is 'let' supported?
A test to see if the browsers supports the 'let' keyword, and shows that it has block level scoping.
-
Does a const have block scope?
A test to see if the browsers use block scope for 'const' or treat it like 'var'.
-
Does a const stay constant?
A test to see if the browsers allows constants, defined with the 'const' keyword, to be updated.
-
CHBYu
No-Library (pure JS), HTML, CSS, JavaScript
-
K6X54
No-Library (pure JS), HTML, CSS, JavaScript
-
Hwe7X
No-Library (pure JS), HTML, CSS, JavaScript