JavaScript: map() method ~> Array