Skip to content
Snippets Groups Projects
  • Mike Pennisi's avatar
    64826c2a
    Make tests more strict · 64826c2a
    Mike Pennisi authored
    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.
    64826c2a
    History
    Make tests more strict
    Mike Pennisi authored
    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.