JavaScript Array Destructurating Last Element

const [lastone] = myArray.slice(-1);
HimansaE