blob: 816c181bbf866c0ebd333490ea2c72e473e93a5d [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, "name");
9assert(p.enumerable === false);
10assert(p.writable === false);
11assert(p.configurable === true);
12assert(p.value === "BigInt");
13