const newArray = array.map(() => {return value + 1 }); ... JavaScript Array map() 方法、箭头函数Arrow_functions的简单用法 · Easylee的博客.
確定! 回上一頁