how to add a number to each element of an array code example
Example: javascript add 1 to each element in array
var numberarr2 = numberarr.map( function(value) {
return value - 1;
} );
var numberarr2 = numberarr.map( function(value) {
return value - 1;
} );