🌈 搜索
📅  最后修改于: 2022-03-11 15:04:13.109000             🧑  作者: Mango
const arr = [1, 2, 3]; const syncRes = arr.map((i) => { return i + 1; }); console.log(syncRes); // 2,3,4