node.js add to array [{}] code example
Example: javascript access pushed element
let newLength = myList.push(myElm);
myList[newLength - 1] // This then equals myElm
let newLength = myList.push(myElm);
myList[newLength - 1] // This then equals myElm