Ad
  • Custom User Avatar

    names[names.length - 2] will return the index of the array.

    try creating a variable with the length of the array, them u can subtract