2 ms·
It supports Javascript. Node.Js runs on Javascript. Draw your conclusions.
by romanovcode 13y ago
It supports Javascript. Node.Js runs on Javascript.
Draw your conclusions.
- sjrd 13y agoTrue, but its main target is definitely the browser. The stand-alone interpreter of Node.js can run code written in Scala.js, and is actually used for benchmarks (along with d8) [1]. However, Scala.js does not emit Node.js modules, nor does it provide any built-in way to import other Node.js modules. [1] https://github.com/jonas/scalajs-benchmarks https://github.com/jonas/scalajs-benchmarks