mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
In ECMAScript 5, assignment to a non-reference value throws a runtime ReferenceError. ECMAscript 6 specifies an early ReferenceError in these cases. Tests for this behavior have been authored to pass in both cases. Simplify these tests to describe and assert the early error.