結果 : javascript remove array element based on condition