1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
{"ast":null,"code":"var anObject = require('../internals/an-object');\n\nvar iteratorClose = require('../internals/iterator-close'); // call something on iterator step with safe closing on error\n\n\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};","map":{"version":3,"names":["anObject","require","iteratorClose","module","exports","iterator","fn","value","ENTRIES","error"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/core-js/internals/call-with-safe-iteration-closing.js"],"sourcesContent":["var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n"],"mappings":"AAAA,IAAIA,QAAQ,GAAGC,OAAO,CAAC,wBAAD,CAAtB;;AACA,IAAIC,aAAa,GAAGD,OAAO,CAAC,6BAAD,CAA3B,C,CAEA;;;AACAE,MAAM,CAACC,OAAP,GAAiB,UAAUC,QAAV,EAAoBC,EAApB,EAAwBC,KAAxB,EAA+BC,OAA/B,EAAwC;EACvD,IAAI;IACF,OAAOA,OAAO,GAAGF,EAAE,CAACN,QAAQ,CAACO,KAAD,CAAR,CAAgB,CAAhB,CAAD,EAAqBA,KAAK,CAAC,CAAD,CAA1B,CAAL,GAAsCD,EAAE,CAACC,KAAD,CAAtD;EACD,CAFD,CAEE,OAAOE,KAAP,EAAc;IACdP,aAAa,CAACG,QAAD,EAAW,OAAX,EAAoBI,KAApB,CAAb;EACD;AACF,CAND"},"metadata":{},"sourceType":"script"}
|