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 If the iterable argument is undefined, return new Weakset object.
8 23.4.1.1 WeakSet ( [ iterable ] )
12 d. Let iter be GetIterator(iterable).
13 e. ReturnIfAbrupt(iter).
17 assert.throws(TypeError, function() {