Is this function using the concept of callback?

Asked

Viewed 28 times

1

var array = [1, 2, 3, 4, 5, 6];
var arrayDobrado = array.map(function(num) {
    return num * 2;
});
  • 3

    I think it will help you: https://answall.com/q/27177/99718

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.