🌈 搜索
📅  最后修改于: 2022-03-11 15:02:33.085000             🧑  作者: Mango
function double(arr) { return arr.forEach(num => num*2); } console.log(double([1,2,3,4])) //undefined