Replies: 1 comment
-
Closed issue #212 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the documentation I should be able to call
to_js
in a Float value, right?https://ruby.github.io/ruby.wasm/Float.html
Then why does this throw an error?
Output:
Link:
https://try.ruby-lang.org/playground/#code=require+%22js%22%0A%0A(Math%3A%3API).to_js&engine=cruby-3.2.0
Beta Was this translation helpful? Give feedback.
All reactions