blob: 79558f9f8cd2bfa4b3fddc7853771b4bd5477e6c [file] [log] [blame]
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-properties-of-the-generatorfunction-prototype-object
description: Object extensibility
info: |
The initial value of the [[Extensible]] internal slot of the
GeneratorFunction prototype object is true.
features: [generators]
---*/
var GeneratorFunction = Object.getPrototypeOf(function*() {}).constructor;
assert(Object.isExtensible(GeneratorFunction.prototype));