This package is only relevant to the Scala.js compiler, and should not be
referenced by any project compiled to the JVM.
General documentation on Scala.js is available at
This package defines important subtypes of js.Any that are defined
in the standard library of ECMAScript 5.1 (or ES 6, with a label in the
documentation), such as js.Object, js.Array and
Implicit conversions to and from standard Scala types to their equivalent
functions and back.
The most important subtypes of js.Any declared in this package are:
The trait js.Dynamic is a special subtrait of js.Any. It can
to call any method and read and write any field of a value of type
could expect, because the corresponding Scala types stand in their stead:
js.UndefOr gives a scala.Option-like interface where the
A | B is an unboxed pseudo-union type, suitable to type values that
admit several unrelated types in facade types.