blob: fd421aab700c06847f7c981fd8608f05357f1050 [file] [log] [blame]
// 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]
---*/
assert.sameValue(typeof function*() {}.prototype, 'object');