/**
* Write a function that takes an array of numbers,
* powers each number by 2, and return an array with powered numbers
*/
const arr = [1, 2, 3, 4];
function powArr(arr) {
return arr.map(function(num) {
return num * 2;
});
}// modify this function
module.exports = { powArr };