NATIVE

settings_applicationsObject  >   settings_applicationsTypedArray  >   settings_applications[[Prototype]]

NATIVE

Editing
  • account_tree
  • bug_report

IntindexlastIndexOf(AnyTypesearchElement, IntstartIndex])

구문

형식
typedArray.lastIndexOf(searchElement[, startIndex])

매개 변수

AnyTypesearchElement필수

배열에서 찾을 원소를 지정한다.

IntstartIndex선택
기본값this.length - 1

배열에서 역순으로 검색을 시작하는 인덱스를 설정한다. 인덱스가 배열의 길이보다 크거나 같으면 전체 배열이 검색된다.

반환

Intindex

원소가 마지막으로 발견된 인덱스를 반환한다. 만약에 발견되지 않으면 -1을 반환한다.

버전 명세

ECMAScript 2024(15th Edition)
#sec-%typedarray%.prototype.lastindexof
ECMAScript 2024(15th Edition)
#sec-array.prototype.lastindexof

지원 웹브라우저