Skip to content
Snippets Groups Projects
Commit bafa0531 authored by Timothy Gu's avatar Timothy Gu Committed by Leo Balter
Browse files

Add test for ({* identifier}) (#2060)

Counterpart to language/expressions/object/prop-def-invalid-async-prefix.js.
parent b4cf5de2
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2019 Tiancheng "Timothy" Gu. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
* is not a valid prefix of an identifier reference
esid: sec-object-initializer
info: |
PropertyDefinition:
IdentifierReference
CoverInitializedName
PropertyName : AssignmentExpression
MethodDefinition
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
({* foo});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment