Search
 
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
Name
8+2 =