Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react spread operator

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