Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Arrows: No Arrow Function

node v6.17.1
endpointsharetweet
let nums = [3, 5, 7] let squares = nums.map(function (n) { return n * n }) console.log(squares)
Loading…

1 comment

  • posted 4 years ago by oo6xoo
    ❤️

sign in to comment