2 ms·
I'm a bit surprised that there isn't a Rust-like interface to call Javascript: callJS :: JSFunction -> (JSObject | JSException) Or however you spell it in Elm
by amluto 9y ago
I'm a bit surprised that there isn't a Rust-like interface to call Javascript:
callJS :: JSFunction -> (JSObject | JSException)
Or however you spell it in Elm.
Admittedly, if Elm is lazy like Haskell, you need some way to deal with the fact that Javascript functions are impure.