prepack
Version:
Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.
14 lines (10 loc) • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (ast, strictCode, env, realm) {
return (0, _index2.RegExpCreate)(realm, new _index.StringValue(realm, ast.pattern), ast.flags ? new _index.StringValue(realm, ast.flags) : undefined);
};
var _index = require("../values/index.js");
var _index2 = require("../methods/index.js");
//# sourceMappingURL=RegExpLiteral.js.map