結果 : how to filter elements from array in javascript