JavaScript Array Destructurant Last Element
const [lastone] = myArray.slice(-1);
HimansaE
const [lastone] = myArray.slice(-1);