1 |
- {"ast":null,"code":"'use strict';\n\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar SPECIES = wellKnownSymbol('species');\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 {\n foo: 1\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":["F:/workspace/202226701027/huinongbao-app/node_modules/core-js-pure/internals/array-method-has-species-support.js"],"sourcesContent":["'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-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,YAAY;;AACZ,IAAIA,KAAK,GAAGC,OAAO,CAAC,oBAAoB,CAAC;AACzC,IAAIC,eAAe,GAAGD,OAAO,CAAC,gCAAgC,CAAC;AAC/D,IAAIE,UAAU,GAAGF,OAAO,CAAC,qCAAqC,CAAC;AAE/D,IAAIG,OAAO,GAAGF,eAAe,CAAC,SAAS,CAAC;AAExCG,MAAM,CAACC,OAAO,GAAG,UAAUC,WAAW,EAAE;EACtC;EACA;EACA;EACA,OAAOJ,UAAU,IAAI,EAAE,IAAI,CAACH,KAAK,CAAC,YAAY;IAC5C,IAAIQ,KAAK,GAAG,EAAE;IACd,IAAIC,WAAW,GAAGD,KAAK,CAACC,WAAW,GAAG,CAAC,CAAC;IACxCA,WAAW,CAACL,OAAO,CAAC,GAAG,YAAY;MACjC,OAAO;QAAEM,GAAG,EAAE;MAAE,CAAC;IACnB,CAAC;IACD,OAAOF,KAAK,CAACD,WAAW,CAAC,CAACI,OAAO,CAAC,CAACD,GAAG,KAAK,CAAC;EAC9C,CAAC,CAAC;AACJ,CAAC","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|