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

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

F4 Finalna Verzija

  • 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.