swc/crates/swc_ecma_codegen/tests/fixture/number/output.js

66 lines
1.4 KiB
JavaScript

const exp = 1000;
const Exp = 1000000000000;
const negativeExp = 0.00000001;
const huge = 1000000000001;
const big = 100000000001;
const fractional = 100.23002;
const numeric_separators = 1000000000000;
const one = 1000;
const two = 1000000;
const three = -1000000;
const bin = 85;
const oct = 342391;
const hex = 3735928559;
const fractional2 = 1000.0001;
const identifier = _1000;
const negate_identifier = -_1000;
const foo = 0.1;
const foo1 = +0.1;
const foo2 = -0.1;
const foo3 = 1050;
const foo4 = 100500;
const foo5 = 10005000;
const foo6 = 1000050000;
const foo7 = 0.1;
const foo8 = 0.01;
const foo9 = 0.001;
const foo10 = 0.0001;
const foo11 = 0.00001;
const foo12 = 0.000001;
const foo13 = 0.000024;
const foo14 = -0.000024;
const foo15 = 10;
const foo16 = 100;
const foo17 = 1000;
const foo18 = 10000;
const foo19 = 100000;
const foo20 = 0.1;
const foo21 = 0.01;
const foo22 = 0.001;
const foo23 = 0.0001;
const foo24 = 0.00001;
const foo25 = -0.1;
const foo26 = -0.01;
const foo27 = -0.001;
const foo28 = -0.0001;
const foo29 = -0.00001;
const foo30 = 0.001;
const foo31 = 0.00321;
const foo32 = 0.000321;
const foo33 = 0.1;
const foo34 = 0.00001;
const foo35 = 0;
const foo36 = -0;
const foo37 = +0;
const foo38 = 0.00001543;
const foo39 = 0.00001543;
const foo40 = (0.00001543);
const foo41 = {
1000050000: "foo"
};
const foo42 = 1000000003242;
const foo43 = -1000000003242;
const foo43 = 0;
const foo44 = -0;
const foo45 = +0;