« *
JavaScript: Arrow + map
const n = [1, 2, 3]; console.log(n.map(x => x * 10));
It prints:
[ 10, 20, 30 ]
4
Previous: Functions
6
Next: Objects
9
Cheat sheet
☆ Save to home
·
0 Home
·
Find
·
Games
·
Chat
·
AI
·
Setup