SyntaxFix
Write A Post
Hire A Developer
Questions
just use array.push();
var array = []; array.push(value);
This will add another item to it.
To take one off, use array.pop();
array.pop();
Link to JavaScript arrays: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array