Dictionary of system properties to add to java.lang.System.getProperties()
The function that is called by java.lang.Runtime.exit
The scope for Scala.js exports (i.e.
The scope for Scala.js exports (i.e. objects and classes)
The global JavaScript scope (corresponds to js.Dynamic.global)
Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain. If the object does not have the specified property, this method returns false.
MDN
Method used to source map JavaScript stack traces
Information about the JavaScript environment Scala.js runs in.
Holds configuration for the Scala.js internals and should not be used directly (could be retrieved via runtime.environmentInfo).
This facade type serves as a documentation on what aspects of Scala.js can be influenced through environment options.
Upon startup, Scala.js checks whether the name
__ScalaJSEnv
is defined in its scope (and references an object). If so, it uses it as environment info. Missing, non-optional fields (according to this facade type) are initialized to default values, optional fields are kept as in the original object. Finally, js.Object.freeze is called on the object to avoid modification.