swc/crates/swc_ecma_parser/tests/tsc/constructBigint.ts
2022-02-04 17:08:38 +09:00

14 lines
178 B
TypeScript

// @target: esnext
// @lib: esnext
// @strict: true
BigInt(1);
BigInt(1n);
BigInt("0");
BigInt(false);
BigInt(Symbol());
BigInt({ e: 1, m: 1 })
BigInt(null);
BigInt(undefined)