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

Function checkStrictModeBinaryExpression

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

Source from the content-addressed store, hash-verified

46593 }
46594 }
46595 function checkStrictModeBinaryExpression(node) {
46596 if (inStrictMode && ts.isLeftHandSideExpression(node.left) && ts.isAssignmentOperator(node.operatorToken.kind)) {
46597 // ECMA 262 (Annex C) The identifier eval or arguments may not appear as the LeftHandSideExpression of an
46598 // Assignment operator(11.13) or of a PostfixExpression(11.3)
46599 checkStrictModeEvalOrArguments(node, node.left);
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

Callers 1

bindWorkerFunction · 0.85

Calls 1

Tested by

no test coverage detected