Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const a = new Array(20).fill(0);
- const b = a.map(x => x + 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement