main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
403 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var WeakSetHelpers = require('../internals/weak-set-helpers');
|
---|
4 | var createCollectionOf = require('../internals/collection-of');
|
---|
5 |
|
---|
6 | // `WeakSet.of` method
|
---|
7 | // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of
|
---|
8 | $({ target: 'WeakSet', stat: true, forced: true }, {
|
---|
9 | of: createCollectionOf(WeakSetHelpers.WeakSet, WeakSetHelpers.add, false)
|
---|
10 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.