javascript 10进制和62进制的竞相调换_javascript能力

2019-12-02 18:42 来源:未知
function string10to62 { var chars = '0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ'.split, radix = chars.length, qutient = +number, arr = []; do { mod = qutient % radix; qutient =  / radix; arr.unshift; } while ; return arr.join;}function string62to10 { var chars = '0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ', radix = chars.length, number_code = String, len = number_code.length, i = 0, origin_number = 0; while  { origin_number += Math.pow * chars.indexOf(number_code.charAt; } return origin_number;}
TAG标签:
版权声明:本文由金沙澳门唯一官网发布于金沙澳门登陆网站,转载请注明出处:javascript 10进制和62进制的竞相调换_javascript能力