Adicionar dados no objeto JS usando o operador de spread
let numberStore = [0, 1, 2];
let newNumber = 12;
numberStore = [...numberStore, newNumber];
Lovely Locust
let numberStore = [0, 1, 2];
let newNumber = 12;
numberStore = [...numberStore, newNumber];