JavaScript Array Destructurant Last Element

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