Compare Revisions

Set

Revision 507765:

Revision 507765 by domenic@domenicdenicola.com on

Revision 513611:

Revision 513611 by arai on

Title:
Set
Set
Slug:
Web/JavaScript/Reference/Global_Objects/Set
Web/JavaScript/Reference/Global_Objects/Set
Tags:
"Référence","Reference","Non Standard","ECMAScript6","JavaScript"
"Référence","Reference","Non Standard","ECMAScript6","JavaScript"
Content:

Revision 507765
Revision 513611
n55            <code>mySet</code><code>.delete(</code><code>value</cn55            <code>mySet.delete(value)</code>
>ode><code>)</code> 
n63            <code>mySet</code><code>.has(</code><code>value</coden63            <code>mySet.has(value)</code>
>><code>)</code> 
n79            <span style="font-family: 'Courier New', 'Andale Monon79            <code>mySet.forEach(callbackFn[, thisArg])</code>
>', monospace; line-height: normal;">mySet.forEach(callbackFn[, th 
>isArg])</span> 
n83              Calls&nbsp;<span style="font-family: 'Courier New',n83              {{ fx_minversion_inline("25") }}Calls <code>callbac
> 'Andale Mono', monospace; line-height: normal;">callbackFn</span>kFn</code> once for each value present in the set object, in valu
>>&nbsp;once for each value present in the set object, in value in>e insertion order. If a <code>thisArg</code> parameter is provide
>sertion order.&nbsp;<span style="line-height: 1.572;">If a&nbsp;<>d to <code>forEach</code>, it will be used as the <code>this</cod
>/span><span style="font-family: 'Courier New', 'Andale Mono', mon>e> value for each callback.
>ospace; line-height: normal;">thisArg</span><span style="line-hei 
>ght: 1.572;">&nbsp;parameter is provided to&nbsp;</span><span sty 
>le="font-family: 'Courier New', 'Andale Mono', monospace; line-he 
>ight: normal;">forEach</span><span style="line-height: 1.572;">,  
>it will be used as the&nbsp;</span><span style="font-family: 'Cou 
>rier New', 'Andale Mono', monospace; line-height: normal;">this</ 
>span><span style="line-height: 1.572;">&nbsp;value for each callb 
>ack.</span> 
nn253          <tr>
254            <td>
255              Set.forEach()
256            </td>
257            <td>
258              {{ CompatNo() }}
259            </td>
260            <td>
261              {{ CompatGeckoDesktop("25") }}
262            </td>
263            <td>
264              {{ CompatNo() }}
265            </td>
266            <td>
267              {{ CompatNo() }}
268            </td>
269            <td>
270              {{ CompatNo() }}
271            </td>
272          </tr>
tt348            </td>
349            <td>
350              {{ CompatNo() }}
351            </td>
352            <td>
353              {{ CompatNo() }}
354            </td>
355            <td>
356              {{ CompatNo() }}
357            </td>
358          </tr>
359          <tr>
360            <td>
361              Set.forEach()
362            </td>
363            <td>
364              {{ CompatNo() }}
365            </td>
366            <td>
367              {{ CompatGeckoDesktop("25") }}

Back to History