如题:大神们大写如:(壹,贰,叁)怎么转换小写(1,2,3)
……自己写个转换函数不就好了吗……
const map = { '壹': 1, '贰': 2, '叁': 3 }; assert(map['叁'] === 3);