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

80 lines
2.2 KiB
JavaScript
Raw Normal View History

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;
const foo46 = 1000000000;
const foo47 = 1.10001;
const foo48 = 10000000000;
const foo49 = 10000000000;
const foo50 = 0.0000000001;
const foo51 = 11000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
const foo52 = 11000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000;
const foo53 = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011;
const foo54 = 123456;
const foo55 = 122333;
const foo56 = 12.34;
const foo57 = 1234000000000000000000000000000000000000000000000000000000;
const foo58 = 1234000000000000000000000000000000000000000000000000000000;
const foo59 = 0.0000000000000000000000000000000000000000000000000000001234;