Name Description Size Coverage
constructor.js --- es6id: 23.2.1 description: > The Set constructor is the %Set% intrinsic object and the initial value of the Set property of the global object. --- 376 -
length.js --- es6id: 23.2.2 description: > Properties of the Set Constructor Besides the length property (whose value is 0) includes: [propertyHelper.js] --- 476 -
name.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) 17 ECMAScript Standard Built-in Objects includes: [propertyHelper.js] --- 456 -
properties-of-the-set-prototype-object.js --- es6id: 23.2.3 description: > The Set prototype object is the intrinsic object %SetPrototype%. The value of the [[Prototype]] internal slot of the Set prototype object is the intrinsic object %ObjectPrototype% (19.1.3). The Set prototype object is an ordinary object. It does not have a [[SetData]] internal slot. --- 635 -
proto-from-ctor-realm.js --- esid: sec-set-iterable es6id: 23.2.1.1 description: Default [[Prototype]] value derived from realm of the newTarget info: | [...] 2. Let set be ? OrdinaryCreateFromConstructor(NewTarget, "%SetPrototype%", « [[SetData]] »). [...] 9.1.14 GetPrototypeFromConstructor [...] 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Let proto be realm's intrinsic object named intrinsicDefaultProto. [...] features: [cross-realm, Reflect] --- 918 -
prototype -
prototype-of-set.js --- es6id: 23.2.2 description: > The value of the [[Prototype]] internal slot of the Set constructor is the intrinsic object %FunctionPrototype% (19.2.3). --- 445 -
set-does-not-throw-when-add-is-not-callable.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). c. If IsCallable(adder) is false, throw a TypeError exception. d. Let iter be GetIterator(iterable). e. ReturnIfAbrupt(iter). ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). --- 1015 -
set-get-add-method-failure.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 6. If iterable is either undefined or null, let iter be undefined. 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). --- 660 -
set-iterable-calls-add.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). c. If IsCallable(adder) is false, throw a TypeError exception. d. Let iter be GetIterator(iterable). e. ReturnIfAbrupt(iter). ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). --- 1133 -
set-iterable-empty-does-not-call-add.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). c. If IsCallable(adder) is false, throw a TypeError exception. d. Let iter be GetIterator(iterable). e. ReturnIfAbrupt(iter). ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). --- 1131 -
set-iterable-throws-when-add-is-not-callable.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). c. If IsCallable(adder) is false, throw a TypeError exception. d. Let iter be GetIterator(iterable). e. ReturnIfAbrupt(iter). ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). --- 996 -
set-iterable.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 7. Else, a. Let adder be Get(set, "add"). b. ReturnIfAbrupt(adder). c. If IsCallable(adder) is false, throw a TypeError exception. d. Let iter be GetIterator(iterable). e. ReturnIfAbrupt(iter). ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). --- 994 -
set-iterator-close-after-add-failure.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). c. If next is false, return set. d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). f. Let status be Call(adder, set, «nextValue.[[value]]»). g. If status is an abrupt completion, return IteratorClose(iter, status). features: [Symbol.iterator] --- 1154 -
set-iterator-next-failure.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 9. Repeat a. Let next be IteratorStep(iter). b. ReturnIfAbrupt(next). features: [Symbol.iterator] --- 651 -
set-iterator-value-failure.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 9. Repeat ... d. Let nextValue be IteratorValue(next). e. ReturnIfAbrupt(nextValue). features: [Symbol.iterator] --- 767 -
set-newtarget.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 2. Let set be OrdinaryCreateFromConstructor(NewTarget, "%SetPrototype%", «‍[[SetData]]» ). ... --- 719 -
set-no-iterable.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: ... 5. If iterable is not present, let iterable be undefined. 6. If iterable is either undefined or null, let iter be undefined. ... 8. If iter is undefined, return set. --- 757 -
set-undefined-newtarget.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) When the Set function is called with optional argument iterable the following steps are taken: 1. If NewTarget is undefined, throw a TypeError exception. ... --- 485 -
set.js --- es6id: 23.2.1.1 description: > Set ( [ iterable ] ) 17 ECMAScript Standard Built-in Objects includes: [propertyHelper.js] --- 379 -
symbol-as-entry.js --- es6id: 19.4 description: > Symbol as Set entry features: [Symbol, Set] --- 592 -
Symbol.species -