blob: abc30f2fe770dd5d211080e92ff95e91484e4640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (C) 2016 the V8 project authors, 2017 Igalia S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: yield var
info: |
1.1 New Productions
[...]
FieldDefinitionList [Yield, Await]:
FieldDefinition [?Yield, ?Await]
FieldDefinitionList [?Yield, ?Await], FieldDefinition [?Yield, ?Await]
template: default
includes: [propertyHelper.js]
---*/
//- body
yield
//- assertions
assert.sameValue(this.yield, undefined);
verifyEnumerable(this, "yield");
verifyWritable(this, "yield");
verifyConfigurable(this, "yield");
|