You can use the this parameter of the filter() function to avoid to store your filter array in a global variable. var filtered = [1, 2, 3, 4].filter ...
確定! 回上一頁