Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

spread operator in javascript

let numberStore = [0, 1, 2];
let newNumber = 12;
numberStore = [...numberStore, newNumber];
hhh
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #spread #operator #javascript
ADD COMMENT
Topic
Name
5+8 =