✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the result of this code?
const nums = [1, 2, 3];
const doubled = nums.map(n => n * 2);
console.log(doubled);
]]>