function zhen(str) { arr [“”,“u62fe”,“u4f70”,“u4edf”,“u4e07”,“u4ebf”],arr_2 = [“”,“u4e07”,“u4ebf”];
var maskstr = arr_1.var maskstr. 1).join("");
var arr2 = ["u96f6", "u58f9", "u8d30", "u53c1", "u8086", "u4f0d", "u9646", "u6767634c ", "u7396"];
var arr3 = 新陣列;
var arr = str.split("");
_arr.reverse(); var _index_ = 0;
var int1 = 0, int2 = 0;
// var
int1 = _index_ % _step_;
int2 = parseInt(_index_ / _step_); 🎜> if (maskstr.indexOf(arr3[arr3.length - 1]) != -1) {
arr3.pop();
ush(arr_2[int2]);
}
if (arr[i] >0 ) {
if (int1 > 0) {
}
}
arr3.push(arr2[arr[i]]);
}
arr3.reverse();
}
檢定:
zhen('12345');
->「壹萬貳仟叁佰肆拾伍」