var numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]; var filtered ... (value % 2 == return value; The filter() method iterates over all elements in the array anyway.
確定! 回上一頁