Files
Zachary D. Rowitsch 2240f6c518 Expand Test262 coverage to 550 tests (Phase B)
Vendor 500 new real Test262 tests (total 550), relax curation filters for
now-supported features (arrow functions, classes, destructuring, spread/rest,
for-in/of, template literals, let/const, instanceof), add automated triage
script, and track pass rate as a CI metric. 190/550 pass (34.5%).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 14:20:22 -05:00

23 lines
657 B
JavaScript

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-assignment-operators-static-semantics-early-errors
description: >
simple assignment throws SyntaxError if LeftHandSide is not a
reference (string)
info: |
AssignmentExpression : LeftHandSideExpression = AssignmentExpression
It is an early Syntax Error if LeftHandSideExpression is neither an
ObjectLiteral nor an ArrayLiteral and AssignmentTargetType of
LeftHandSideExpression is invalid or strict.
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
'x' = 42;