DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
/learn ES6: Use the Spread Operator to Evaluate Arrays In-Place
const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY']; let arr2; arr2 = [...arr1];
Source by github.com #
PREVIOUS
NEXT
Tagged:
#Use
#Spread
#Operator
#Evaluate
#Arrays
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit