function evaluateCatchClause({ node, evaluate, environment, statementTraversalStack }, ex) {
    // If a catch binding is provided, we must provide a local lexical environment for the CatchBlock
    const catchEnvironment = node.variableDeclaration == null ? environment : cloneLexicalEnvironment(environment);
    // Evaluate the catch binding, if any is provided
    if (node.variableDeclaration != null) {
        evaluate.nodeWithArgument(node.variableDeclaration, catchEnvironment, ex, statementTraversalStack);
    }
    // Evaluate the block
    evaluate.statement(node.block, catchEnvironment);
}
/**
 * Evaluates, or attempts to evaluate, a CatchClause, based on a given Error
 */
Evaluates, or attempts to evaluate, a CatchClause, based on a given Error
Evaluates or attempts to evaluate a CatchClause based on a given Error
function evaluateCatchClause({ node, evaluate, environment, statementTraversalStack }, ex) {
    const catchEnvironment = node.variableDeclaration == null ? environment : cloneLexicalEnvironment(environment);
    if (node.variableDeclaration != null) {
        evaluate.nodeWithArgument(node.variableDeclaration, catchEnvironment, ex, statementTraversalStack);
    }
    evaluate.statement(node.block, catchEnvironment);
}
function evaluateCatchClause ( { node , evaluate , environment , statementTraversalStack } , ex ) { const catchEnvironment = node . variableDeclaration == null ? environment : cloneLexicalEnvironment ( environment ) ; if ( node . variableDeclaration != null ) { evaluate . nodeWithArgument ( node . variableDeclaration , catchEnvironment , ex , statementTraversalStack ) ; } evaluate . statement ( node . block , catchEnvironment ) ; }
Evaluates, or attempts to evaluate, a CatchClause, based on a given Error
Evaluates or attempts to evaluate a CatchClause based on a given Error
// If a catch binding is provided, we must provide a local lexical environment for the CatchBlock // Evaluate the catch binding, if any is provided // Evaluate the block