source: frontend/node_modules/core-js-pure/internals/get-iterator-flattenable.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 496 bytes
Line 
1'use strict';
2var call = require('../internals/function-call');
3var anObject = require('../internals/an-object');
4var getIteratorDirect = require('../internals/get-iterator-direct');
5var getIteratorMethod = require('../internals/get-iterator-method');
6
7module.exports = function (obj, stringHandling) {
8 if (!stringHandling || typeof obj !== 'string') anObject(obj);
9 var method = getIteratorMethod(obj);
10 return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj));
11};
Note: See TracBrowser for help on using the repository browser.