1 line
2.3 KiB
JSON
1 line
2.3 KiB
JSON
|
{"ast":null,"code":"var fails = require('../internals/fails');\n\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n\n constructor[SPECIES] = function () {\n return {\n foo: 1\n };\n };\n\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};","map":{"version":3,"names":["fails","require","wellKnownSymbol","V8_VERSION","SPECIES","module","exports","METHOD_NAME","array","constructor","foo","Boolean"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/core-js/internals/array-method-has-species-support.js"],"sourcesContent":["var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n"],"mappings":"AAAA,IAAIA,KAAK,GAAGC,OAAO,CAAC,oBAAD,CAAnB;;AACA,IAAIC,eAAe,GAAGD,OAAO,CAAC,gCAAD,CAA7B;;AACA,IAAIE,UAAU,GAAGF,OAAO,CAAC,gCAAD,CAAxB;;AAEA,IAAIG,OAAO,GAAGF,eAAe,CAAC,SAAD,CAA7B;;AAEAG,MAAM,CAACC,OAAP,GAAiB,UAAUC,WAAV,EAAuB;EACtC;EACA;EACA;EACA,OAAOJ,UAAU,IAAI,EAAd,IAAoB,CAACH,KAAK,CAAC,YAAY;IAC5C,IAAIQ,KAAK,GAAG,EAAZ;IACA,IAAIC,WAAW,GAAGD,KAAK,CAACC,WAAN,GAAoB,EAAtC;;IACAA,WAAW,CAACL,OAAD,CAAX,GAAuB,YAAY;MACjC,OAAO;QAAEM,GAAG,EAAE;MAAP,CAAP;IACD,CAFD;;IAGA,OAAOF,KAAK,CAACD,WAAD,CAAL,CAAmBI,OAAnB,EAA4BD,GAA5B,KAAoC,CAA3C;EACD,CAPgC,CAAjC;AAQD,CAZD"},"metadata":{},"sourceType":"script"}
|