A Cleaner Way to Access the Last Element of an Array in JavaScript | aweai