Files
asciidisco.com/build/node_modules/prepack/lib/evaluators/ThrowStatement.js
2023-08-01 13:49:46 +02:00

16 lines
469 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (ast, strictCode, env, realm) {
var exprRef = env.evaluate(ast.argument, strictCode);
var exprValue = _singletons.Environment.GetValue(realm, exprRef);
throw new _completions.ThrowCompletion(exprValue, ast.loc);
};
var _completions = require("../completions.js");
var _singletons = require("../singletons.js");
//# sourceMappingURL=ThrowStatement.js.map