Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Arrows: No Arrow Function
node v6.17.1
endpoint
share
tweet
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