Global
package js.lib.webassembly
Available on js
A WebAssembly Global
object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more WebAssembly Module
instances. This allows dynamic linking of multiple modules.
Documentation Global by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Constructor
new(descriptor:GlobalDescriptor, value:Any)
Variables
value:Any
The value contained inside the global variable — this can be used to directly set and get the global's value.
Methods
valueOf():Any
Old-style method that returns the value contained inside the global variable.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/webassembly/Global.html