We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 086c90e commit 3957058Copy full SHA for 3957058
1 file changed
lib/mozilla-ast.js
@@ -555,6 +555,13 @@ import {
555
return new AST_Number(args);
556
case "boolean":
557
return new (val ? AST_True : AST_False)(args);
558
+ case "bigint":
559
+ args.value = val;
560
+ return new AST_BigInt(args);
561
+ case "undefined":
562
+ return undefined;
563
+ default:
564
+ throw new Error("Unhandled value type: " + typeof val);
565
}
566
},
567
MetaProperty: function(M) {
0 commit comments