debian-mirror-gitlab/core-js/modules/esnext.weak-set.from.js
2019-12-16 22:33:55 +05:30

8 lines
241 B
JavaScript

var $ = require('../internals/export');
var from = require('../internals/collection-from');
// `WeakSet.from` method
// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from
$({ target: 'WeakSet', stat: true }, {
from: from
});