About Lesson
Introduction:
The map() method in JavaScript creates an array by calling a specific function on each element present in the parent array. It is a non-mutating method. Generally map() method is used to iterate over an array and calling function on every element of array.
Example:
var x = [1, 3, 5, 8, 10];
[10, 30, 50, 80, 100];
x.map();
Exercise Files
No Attachment Found
Join the conversation