Arrows: Implicit Return

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

no comments

    sign in to comment