ES6為Array增加了find(),findIndex函數。 find()函數用來查找目標元素,找到就返回 ... index, arr) => { return value > 4 }) var ret2 = arr1.find((value, index, ...
確定! 回上一頁