easy
Code Logic Explanation
Explain the logic and functionality of a specific code snippet in plain English.
📝 Contenu du Prompt
Explain line-by-line what the following JavaScript code snippet does. Assume the audience is a beginner programmer. Code: const doubled = numbers.map(num => num * 2);