This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/core-js/modules/esnext.set.of.js

11 lines
370 B
JavaScript
Raw Permalink Normal View History

2025-06-13 06:04:40 +00:00
'use strict';
var $ = require('../internals/export');
var SetHelpers = require('../internals/set-helpers');
var createCollectionOf = require('../internals/collection-of');
// `Set.of` method
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of
$({ target: 'Set', stat: true, forced: true }, {
of: createCollectionOf(SetHelpers.Set, SetHelpers.add, false)
});