scalajs-library-tips Snippets and examples for an article on writing idiomatic JS libraries with ScalaJS Building and running sbt fastOptJS Then open target/scala-2.11/classes/index-fastopt.html in a browser and open the developer console to observe the output of a test program.