1
var array = [1, 2, 3, 4, 5, 6];
var arrayDobrado = array.map(function(num) {
return num * 2;
});
1
var array = [1, 2, 3, 4, 5, 6];
var arrayDobrado = array.map(function(num) {
return num * 2;
});
Browser other questions tagged javascript callback
You are not signed in. Login or sign up in order to post.
I think it will help you: https://answall.com/q/27177/99718
– Valdeir Psr