Bridge.getVariableOf()

특정 스크립트의 전역 스코프 멤버를 반환합니다.

구문

JavaScript

Bridge.getVariableOf(scriptName, variable);

매개변수

scriptName String

전역 스코프 멤버를 가져올 스크립트의 이름

variable String

반환할 멤버의 이름

반환값

any - scriptName 스크립트의 전역 스코프 멤버를 반환합니다. 스크립트 또는 함수를 찾을 수 없는 경우 null을 반환합니다.

호환성

getVariableOf