結果 : javascript map function with if statement