function doubleEveryEven (arr){ return arr.map(n=>n * (2 - (n & 1))) } console.log(doubleEveryEven([11,0,9,3,10,4]))