blob: 0490c6f567147462ecabd49c53e2700b8dcd2181 [file] [log] [blame]
ticaiolima@gmail.combef44392018-01-02 23:38:36 +00001//@ runBigIntEnabled
2
3function assert(a) {
4 if (!a)
5 throw new Error("Bad assertion");
6}
7
8let p = Object.getOwnPropertyDescriptor(BigInt.prototype, "constructor");
9
10assert(p.writable === true);
11assert(p.enumerable === false);
12assert(p.configurable === true);
13assert(p.value === BigInt);
14