1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 esid: sec-weakset-iterable
6 The WeakSet constructor is the %WeakSet% intrinsic object and the initial
7 value of the WeakSet property of the global object.
9 23.4.1.1 WeakSet ( [ iterable ] )
11 1. If NewTarget is undefined, throw a TypeError exception.
14 assert.throws(TypeError, function() {
18 assert.throws(TypeError, function() {