Uzyskaj ostatni indeks tablicy obiektów JavaScript

lastIndex = myArray.length - 1;
Different Dolphin