2a7f18345577391fbbb0afc5d5e25933.json 1.2 KB

1
  1. {"ast":null,"code":"var toPrimitive = require('../internals/to-primitive');\n\nvar isSymbol = require('../internals/is-symbol'); // `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\n\n\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};","map":{"version":3,"sources":["/home/ilya/projects/NIX/temp/react/store/node_modules/core-js-pure/internals/to-property-key.js"],"names":["toPrimitive","require","isSymbol","module","exports","argument","key"],"mappings":"AAAA,IAAIA,WAAW,GAAGC,OAAO,CAAC,2BAAD,CAAzB;;AACA,IAAIC,QAAQ,GAAGD,OAAO,CAAC,wBAAD,CAAtB,C,CAEA;AACA;;;AACAE,MAAM,CAACC,OAAP,GAAiB,UAAUC,QAAV,EAAoB;AACnC,MAAIC,GAAG,GAAGN,WAAW,CAACK,QAAD,EAAW,QAAX,CAArB;AACA,SAAOH,QAAQ,CAACI,GAAD,CAAR,GAAgBA,GAAhB,GAAsBA,GAAG,GAAG,EAAnC;AACD,CAHD","sourcesContent":["var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n"]},"metadata":{},"sourceType":"script"}