{"version":3,"sources":["../../../src/php/math/octdec.js"],"names":["module","exports","octdec","octString","replace","parseInt"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,SAAjB,EAA4B;AAC3C;AACA;AACA;AACA;;AAEAA,cAAY,CAACA,YAAY,EAAb,EAAiBC,OAAjB,CAAyB,UAAzB,EAAqC,EAArC,CAAZ;AACA,SAAOC,SAASF,SAAT,EAAoB,CAApB,CAAP;AACD,CARD","file":"octdec.js","sourcesContent":["module.exports = function octdec (octString) {\n // discuss at: http://locutus.io/php/octdec/\n // original by: Philippe Baumann\n // example 1: octdec('77')\n // returns 1: 63\n\n octString = (octString + '').replace(/[^0-7]/gi, '')\n return parseInt(octString, 8)\n}\n"]}