function evaluateObjectLiteralExpression({ node, evaluate, environment, reporting, statementTraversalStack }) {
    // Create a new ObjectLiteral based on the Object implementation from the Realm since this must not be the same as in the parent executing context
    // Otherwise, instanceof checks would fail
    const objectCtor = getFromLexicalEnvironment(node, environment, "Object").literal;
    const value = objectCtor.create(objectCtor.prototype);
    // Mark the object as the 'this' value of the scope
    setInLexicalEnvironment({ env: environment, path: THIS_SYMBOL, value, newBinding: true, reporting, node });
    for (const property of node.properties) {
        evaluate.nodeWithArgument(property, environment, value, statementTraversalStack);
    }
    return value;
}
/**
 * Evaluates, or attempts to evaluate, a ObjectLiteralExpression
 */
Evaluates, or attempts to evaluate, a ObjectLiteralExpression
Evaluates or attempts to evaluate a ObjectLiteralExpression
function evaluateObjectLiteralExpression({ node, evaluate, environment, reporting, statementTraversalStack }) {
    const objectCtor = getFromLexicalEnvironment(node, environment, "Object").literal;
    const value = objectCtor.create(objectCtor.prototype);
    setInLexicalEnvironment({ env: environment, path: THIS_SYMBOL, value, newBinding: true, reporting, node });
    for (const property of node.properties) {
        evaluate.nodeWithArgument(property, environment, value, statementTraversalStack);
    }
    return value;
}
function evaluateObjectLiteralExpression ( { node , evaluate , environment , reporting , statementTraversalStack } ) { const objectCtor = getFromLexicalEnvironment ( node , environment , "Object" ) . literal ; const value = objectCtor . create ( objectCtor . prototype ) ; setInLexicalEnvironment ( { env : environment , path : THIS_SYMBOL , value , newBinding : true , reporting , node } ) ; for ( const property of node . properties ) { evaluate . nodeWithArgument ( property , environment , value , statementTraversalStack ) ; } return value ; }
Evaluates, or attempts to evaluate, a ObjectLiteralExpression
Evaluates or attempts to evaluate a ObjectLiteralExpression
// Create a new ObjectLiteral based on the Object implementation from the Realm since this must not be the same as in the parent executing context // Otherwise, instanceof checks would fail // Mark the object as the 'this' value of the scope