17 lines
472 B
JavaScript
17 lines
472 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
exports.default = function (ast, strictCode, env, realm) {
|
|
// ECMA262 13.5.1
|
|
// 1. Let exprRef be the result of evaluating Expression.
|
|
var exprRef = env.evaluate(ast.expression, strictCode);
|
|
|
|
// 2. Return ? GetValue(exprRef).
|
|
return _singletons.Environment.GetValue(realm, exprRef);
|
|
};
|
|
|
|
var _singletons = require("../singletons.js");
|
|
//# sourceMappingURL=ExpressionStatement.js.map
|