I'm going crazy with `wasmJs`. I still haven't fig...
# webassembly
e
I'm going crazy with
wasmJs
. I still haven't figured out how to create a JS array. In JS I'd use
js("[]").unsafeCast<Whatever>
, but it doesn't work in
wasmJs
e
Thanks Robert. Although with
JsAny
as upper bound I can't use primitive types like
Boolean
r
No, you can't. But you can use
Boolen.toJsBoolean()
e
Ahhhh, damn! Thank you! Not sure how I missed the
toJs*
primitive conversions.