3890c0c18610ccc0889391e031fa6890.json 1.4 KB

1
  1. {"ast":null,"code":"var anObject = require('../internals/an-object');\n\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nmodule.exports = function (it) {\n var iteratorMethod = getIteratorMethod(it);\n\n if (typeof iteratorMethod != 'function') {\n throw TypeError(String(it) + ' is not iterable');\n }\n\n return anObject(iteratorMethod.call(it));\n};","map":{"version":3,"sources":["/Users/jane/Documents/Курс Front-end/HW8/myproject/node_modules/core-js-pure/internals/get-iterator.js"],"names":["anObject","require","getIteratorMethod","module","exports","it","iteratorMethod","TypeError","String","call"],"mappings":"AAAA,IAAIA,QAAQ,GAAGC,OAAO,CAAC,wBAAD,CAAtB;;AACA,IAAIC,iBAAiB,GAAGD,OAAO,CAAC,kCAAD,CAA/B;;AAEAE,MAAM,CAACC,OAAP,GAAiB,UAAUC,EAAV,EAAc;AAC7B,MAAIC,cAAc,GAAGJ,iBAAiB,CAACG,EAAD,CAAtC;;AACA,MAAI,OAAOC,cAAP,IAAyB,UAA7B,EAAyC;AACvC,UAAMC,SAAS,CAACC,MAAM,CAACH,EAAD,CAAN,GAAa,kBAAd,CAAf;AACD;;AAAC,SAAOL,QAAQ,CAACM,cAAc,CAACG,IAAf,CAAoBJ,EAApB,CAAD,CAAf;AACH,CALD","sourcesContent":["var anObject = require('../internals/an-object');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nmodule.exports = function (it) {\n var iteratorMethod = getIteratorMethod(it);\n if (typeof iteratorMethod != 'function') {\n throw TypeError(String(it) + ' is not iterable');\n } return anObject(iteratorMethod.call(it));\n};\n"]},"metadata":{},"sourceType":"script"}