WebAssembly.Global
.prototype
속성은 WebAssembly.Global()
생성자의 프로토 타입을 나타냅니다.
Property attributes of WebAssembly.Global.prototype |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
Description
모든 WebAssembly.Global
인스턴스는 Global.prototype
에서 상속받습니다. WebAssembly.Global()
생성자의 프로토 타입 객체는 모든 WebAssembly.Global
인스턴스에 영향을 미치도록 수정할 수 있습니다.
Properties
Global.prototype.constructor
- 이 객체의 인스턴스를 생성 한 함수를 돌려줍니다. 기본적으로 이것은
WebAssembly.Global()
생성자입니다. Global.prototype[@@toStringTag]
- @@toStringTag 속성의 초기 값은 String 값인 "WebAssembly.Global"입니다.
Global.prototype.value
- 전역 변수에 포함 된 값 - 전역 값을 직접 설정하고 가져 오는 데 사용할 수 있습니다.
Methods
Global.prototype.valueOf()
- 전역 변수에 포함 된 값을 반환하는 Old-style 메서드입니다.
Specifications
Specification | Status | Comment |
---|---|---|
WebAssembly JavaScript Interface The definition of 'WebAssembly.Global()' in that specification. |
Working Draft | Initial draft definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "javascript.builtins.WebAssembly.Global.prototype" (depth: 1) to the MDN compatibility data repository.