map() Example 1 map() Example 1 This example defines an array ["hello", "Array", "WORLD"] and then returns an array with all strings capitalized.
This example defines an array ["hello", "Array", "WORLD"] and then returns an array with all strings capitalized.