神岛 API 文档 - ArenaPro版
    Preparing search index...

    WebAssembly.Global 的描述符对象。

    The descriptor object for a WebAssembly.Global.

    interface GlobalDescriptor<T extends ValueType = ValueType> {
        mutable?: boolean;
        value: T;
    }

    Type Parameters

    • T extends ValueType = ValueType
    Index

    Properties

    Properties

    mutable?: boolean

    一个布尔值,指定全局变量是否可变。

    A boolean specifying whether the global is mutable.

    value: T

    全局变量的数据类型。

    The data type of the global variable.