https://medium.com/@wilberkledezma51/3-formas-de-obtener-el-%C3%BAltimo-elemento-de-un-array-en-js-964b86e3d554