(node *ast.Node)
| 1388 | } |
| 1389 | |
| 1390 | func (b *Binder) checkStrictModeBinaryExpression(node *ast.Node) { |
| 1391 | expr := node.AsBinaryExpression() |
| 1392 | if ast.IsLeftHandSideExpression(expr.Left) && ast.IsAssignmentOperator(expr.OperatorToken.Kind) { |
| 1393 | // ECMA 262 (Annex C) The identifier eval or arguments may not appear as the LeftHandSideExpression of an |
| 1394 | // Assignment operator(11.13) or of a PostfixExpression(11.3) |
| 1395 | b.checkStrictModeEvalOrArguments(node, expr.Left) |
| 1396 | } |
| 1397 | } |
| 1398 | |
| 1399 | func (b *Binder) checkStrictModeCatchClause(node *ast.Node) { |
| 1400 | // It is a SyntaxError if a TryStatement with a Catch occurs within strict code and the Identifier of the |
no test coverage detected