1
Reply

What is the use of map() in jquery?

Gajendra Jangid

Gajendra Jangid

Jan 25, 2018
135
0

    The map() method creates a new array with the results of calling a function for every array element.var numbers = [4, 9, 16, 25];function myFunction() {var a = numbers.map(Math.sqrt); }

    Gajendra Jangid
    January 25, 2018
    1