use spread operator to add to array code example
Example: addition in spread operator in javascript
let numberStore = [0, 1, 2];
let newNumber = 12;
numberStore = [...numberStore, newNumber];
let numberStore = [0, 1, 2];
let newNumber = 12;
numberStore = [...numberStore, newNumber];