scala.js

  1. MayoMayn

    Scala.js | Use JavaScript object as function parameter

    So basically I'm exporting a top level object in Scala.js where the start method takes in a JS object as function argument. After some research I discovered that defining a trait for the object would solve the issue, but all I get is still "[Object object]" This is my main.scala file: package...
Top