test262/src/assignment-target-type/arrowfunction-4.case
2020-09-17 16:23:26 -04:00

23 lines
479 B
Plaintext

// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-assignment-operators-static-semantics-assignmenttargettype
desc: >
Static Semantics AssignmentTargetType, Return invalid.
info: |
ArrowFunction
Static Semantics AssignmentTargetType, Return invalid.
template: invalid
negative:
phase: parse
type: SyntaxError
---*/
//- assignmenttarget
(() => 1)
//- operator
=
//- value
1