后来语法有所升级,到ES5 遍历数组的API 多了起来,其中 ... let array = [5, 12, 8, 130, 44]; let found = array.find(function(element) { return element > 10; } ...
確定! 回上一頁