NATIVE

settings_applicationsObject  >   settings_applicationsFunction  >   settings_applications[[Prototype]]

NATIVE

Editing
  • account_tree
  • bug_report

anyTyperesultapply(ObjectthisArg, Array, like-arrayargArray])

지정된 this와 제공된 인수를 가진 배열 또는 유사 배열로 함수를 호출한다.

구문

형식
function.apply(thisArg, [argArray])

매개 변수

ObjectthisArg필수

호출된 함수에게 지정될 this 값을 나타낸다. 해당되지 않는 경우 null을 지정한다.

Array, like-arrayargArray선택

함수가 호출될 때 지정할 인수를 가진 배열 또는 유사 배열을 나타낸다.

반환

anyTyperesult

지정된 this와 인수로 함수를 호출한 결과를 반환한다.

버전 명세

ECMAScript 2024(15th Edition)
#sec-function.prototype.apply

지원 웹브라우저