Are you sure you're getting this? Click the correct answer from the options.
What will be the output of this code?
JAVASCRIPT
1const arr = [1,2,3,4,5,6,7,8,9,10];
2
3const mapped_arr = arr.map((e)=>e+10);
4
5console.log(mapped_arr);
Click the option that best answers the question.
- [10 2 3 4 5 6 7 8 9 10]
- 10
- [11 12 13 14 15 16 17 18 19 20]