source: imaps-frontend/node_modules/core-js/internals/set-clone.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 311 bytes
Line 
1'use strict';
2var SetHelpers = require('../internals/set-helpers');
3var iterate = require('../internals/set-iterate');
4
5var Set = SetHelpers.Set;
6var add = SetHelpers.add;
7
8module.exports = function (set) {
9 var result = new Set();
10 iterate(set, function (it) {
11 add(result, it);
12 });
13 return result;
14};
Note: See TracBrowser for help on using the repository browser.