Computer Science, asked by lamak4038, 11 months ago

The primary purpose of the array map() function is that it
A.maps the elements of another array into itself
B.passes each element of the array and returns the necessary mapped elements
C.passes each element of the array on which it is invoked to the function you specify, and returns an array containing the values returned by that function
D.None of the mentioned

Answers

Answered by Avanish010
0
Hi there,

Option C is correct.

The map() method passes each element of the array on which it is invoked to the functionyou specify, and returns an array containing the values returned by that function.

simren84: hii
Answered by Vaishnavi18
0
The primary purpose of the array map() function is that it passes each element of the array on which it is invoked to the function you specify, and returns an array containing the values returned by that function
Similar questions