🌈 搜索
📅  最后修改于: 2022-03-11 15:01:48.581000             🧑  作者: Mango
const toNumbers = arr => arr.map(Number); toNumbers(['1', '2', '3','4']); // [1, 2, 3, 4]