/*Given a set of numbers, return the additive inverse of each. Each positive becomes negatives, and the negatives become positives.*/
function invert(array) {
return array.map(each=>{
return each * -1;
})
}
/*Given a set of numbers, return the additive inverse of each. Each positive becomes negatives, and the negatives become positives.*/
function invert(array) {
return array.map(each=>{
return each * -1;
})
}