diff options
Diffstat (limited to 'test/snippets/unicode-identifiers.js')
-rw-r--r-- | test/snippets/unicode-identifiers.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/snippets/unicode-identifiers.js b/test/snippets/unicode-identifiers.js new file mode 100644 index 000000000..5b602f49b --- /dev/null +++ b/test/snippets/unicode-identifiers.js @@ -0,0 +1,15 @@ +var ε = 1e-6, + ε2 = ε * ε, + π = Math.PI, + τ = 2 * π, + τε = τ - ε, + halfπ = π / 2, + d3_radians = π / 180, + d3_degrees = 180 / π; + +export { d3_radians }; + +export function test() { + console.assert(ε === 1e-6); + return testDone(import.meta.url); +} |