mirror of
https://github.com/tc39/test262.git
synced 2025-10-14 12:28:57 +02:00
23 lines
479 B
Plaintext
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
|