javaScript Access Topled Element

let newLength = myList.push(myElm);

myList[newLength - 1] // This then equals myElm
garzj