結果 : what is the purpose of the map method in javascript arrays