結果 : javascript remove items from array based on condition