DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
How to Use the Spread Operator in JavaScript
const newArray = ['firstItem', ...oldArray];
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#How
#Use
#Spread
#Operator
#JavaScript
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit