Scalajs, js.Dictionary inconsistent behavior
Advertisements I have an inconsistent error using ScalaJS. Here is a minimal example: the size and the content of a dictionary variable are inconsistent. def A(mapping: js.Dictionary[String]): Unit = { dom.console.log(mapping) dom.console.log(mapping.size) } I link the IRs using fastOptJS. In the driver code in html, I have const colorSetting = new Map([ ["1", "black"] ]);… Read More Scalajs, js.Dictionary inconsistent behavior