blob: f86584d3468af98a47a7473b22fd5ee6db923263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 25.2.4.2
description: >
Whenever a GeneratorFunction instance is created another ordinary object is
also created and is the initial value of the generator function’s prototype
property.
features: [generators]
---*/
function* g() {}
assert.sameValue(typeof g.prototype, 'object');
reportCompare(0, 0);
|