diff options
Diffstat (limited to 'node_modules/locutus/php/math/bindec.js.map')
-rw-r--r-- | node_modules/locutus/php/math/bindec.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/math/bindec.js.map b/node_modules/locutus/php/math/bindec.js.map deleted file mode 100644 index 3787ca3..0000000 --- a/node_modules/locutus/php/math/bindec.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/math/bindec.js"],"names":["module","exports","bindec","binaryString","replace","parseInt"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,YAAjB,EAA+B;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEAA,iBAAe,CAACA,eAAe,EAAhB,EAAoBC,OAApB,CAA4B,SAA5B,EAAuC,EAAvC,CAAf;;AAEA,SAAOC,SAASF,YAAT,EAAuB,CAAvB,CAAP;AACD,CAbD","file":"bindec.js","sourcesContent":["module.exports = function bindec (binaryString) {\n // discuss at: http://locutus.io/php/bindec/\n // original by: Philippe Baumann\n // example 1: bindec('110011')\n // returns 1: 51\n // example 2: bindec('000110011')\n // returns 2: 51\n // example 3: bindec('111')\n // returns 3: 7\n\n binaryString = (binaryString + '').replace(/[^01]/gi, '')\n\n return parseInt(binaryString, 2)\n}\n"]}
\ No newline at end of file |