Debian Codegraph @

js/src/tests/test262/language/statements/labeled/value-yield-non-strict.js

raw
1 // Copyright (C) 2013 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: >
6 `yield` is not a reserved identifier in non-strict mode code and may be
7 used as a label.
8 es6id: 12.1.1
9 flags: [noStrict]
10 ---*/
11
12 yield: 1;
13
14 reportCompare(0, 0);