array add number to each 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;
} );