3504e6743194acec480e2fa2bff71f5b.json 1.1 KB

1
  1. {"ast":null,"code":"var ceil = Math.ceil;\nvar floor = Math.floor; // `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\n\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};","map":{"version":3,"sources":["/Users/jane/Documents/Курс Front-end/HW8/myproject/node_modules/core-js-pure/internals/to-integer.js"],"names":["ceil","Math","floor","module","exports","argument","isNaN"],"mappings":"AAAA,IAAIA,IAAI,GAAGC,IAAI,CAACD,IAAhB;AACA,IAAIE,KAAK,GAAGD,IAAI,CAACC,KAAjB,C,CAEA;AACA;;AACAC,MAAM,CAACC,OAAP,GAAiB,UAAUC,QAAV,EAAoB;AACnC,SAAOC,KAAK,CAACD,QAAQ,GAAG,CAACA,QAAb,CAAL,GAA8B,CAA9B,GAAkC,CAACA,QAAQ,GAAG,CAAX,GAAeH,KAAf,GAAuBF,IAAxB,EAA8BK,QAA9B,CAAzC;AACD,CAFD","sourcesContent":["var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n"]},"metadata":{},"sourceType":"script"}