結果 : javascript map with if statement