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