MCPcopy Index your code
hub / github.com/nodejs/node / checkStrictModeCatchClause

Function checkStrictModeCatchClause

test/fixtures/snapshot/typescript.js:46602–46608  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

46600 }
46601 }
46602 function checkStrictModeCatchClause(node) {
46603 // It is a SyntaxError if a TryStatement with a Catch occurs within strict code and the Identifier of the
46604 // Catch production is eval or arguments
46605 if (inStrictMode && node.variableDeclaration) {
46606 checkStrictModeEvalOrArguments(node, node.variableDeclaration.name);
46607 }
46608 }
46609 function checkStrictModeDeleteExpression(node) {
46610 // Grammar checking
46611 if (inStrictMode && node.expression.kind === 79 /* SyntaxKind.Identifier */) {

Callers 1

bindWorkerFunction · 0.85

Calls 1

Tested by

no test coverage detected