org.scalajs.ir.Trees.JSNativeLoadSpec
Load from the global scope.
The globalRef is the name of a global variable (found in the global scope). It must be valid according to JSGlobalRef.isValidJSGlobalRefName.
globalRef
The path is a series of nested property names starting from that variable.
path
The path can be empty, in which case this denotes the specified global variable itself.
Examples:
// Foo Global("Foo", Nil) // cp.Vect Global("cp", List("Vect"))
Load from the global scope.
The
globalRef
is the name of a global variable (found in the global scope). It must be valid according to JSGlobalRef.isValidJSGlobalRefName.The
path
is a series of nested property names starting from that variable.The path can be empty, in which case this denotes the specified global variable itself.
Examples: