DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Arrow Function Example
let nums = [3, 5, 7] let squares = nums.map((n) => { return n * n }) console.log(squares)
Source by riptutorial.com #
PREVIOUS
NEXT
Tagged:
#Arrow
#Function
#Example
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit