js last index of array shortcode code example Example: last index of array js array.lastIndexOf(searchElement[, fromIndex]);