Primitive data types Floats can behave as Doubles by default toString of Float, Double and Unit Runtime type tests are based on values Undefined behaviors JavaScript interoper...
ES6 Scala.js Below you can see the same functionality implemented in JavaScript ES6 and Scala.js. See any differences? ES6 const xhr = new XMLHttpRequest (); xhr . ...
A simple example Exporting top-level objects Exporting under a namespace (deprecated) Exporting classes Exports with modules Exporting methods Overloading Exporting for call ...
About @ScalaJSDefined Defining a non-native JS type Restrictions Semantics What JavaScript sees super calls Non-native JS object Non-native JS traits Static members Restrict...
Benchmarks In devevelopment mode (fastOpt) In production mode (fullOpt) Comparison between fullOpt and hand-written JavaScript Scala.js compiler optimizes the generated JavaSc...
Depending on Scala.js libraries Deprecated: Depending on JavaScript libraries Scoping to a Configuration CommonJS name Dependency Ordering Local JavaScript Files Write a Depen...
How to structure a .sbt build to cross-compile with Scala and Scala.js? Can I use macros with Scala.js? What about compiler plugins? Where can I find an example of non trivial Sc...