blob: c91af1d44ad983b54128008d2454ab4429c4b169 [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: 23.4.2
esid: sec-properties-of-the-weakset-constructor
description: >
The value of the [[Prototype]] internal slot of the WeakSet constructor
is the intrinsic object %FunctionPrototype% (19.2.3).
---*/
assert.sameValue(
Object.getPrototypeOf(WeakSet),
Function.prototype,
'`Object.getPrototypeOf(WeakSet)` returns `Function.prototype`'
);