mirror of
https://github.com/tc39/test262.git
synced 2025-09-26 19:48:43 +02:00
These tests are derived from the following files within the Google V8 project: test/mjsunit/es6/generators-parsing.js
14 lines
351 B
JavaScript
14 lines
351 B
JavaScript
// Copyright (C) 2013 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
description: >
|
|
`yield` is a reserved identifier in strict mode code and may not be used
|
|
as an identifier.
|
|
es6id: 12.1.1
|
|
negative: SyntaxError
|
|
flags: [onlyStrict]
|
|
---*/
|
|
|
|
var yield = 13;
|