const array = [1, 4, 9, 16]; const arrayWithMultipliedElems = array.map(elem => elem * 2); console.log(arrayWithMultipliedElems); // [2, 8, 18, 32]