You can run absolutely any JS code, just through the ports API. Trivial things like Math.PI are in the core[1] or some package.
[1] https://package.elm-lang.org/packages/elm-lang/core/5.1.1/Ba...
You can run absolutely any JS code, just through the ports API. Trivial things like Math.PI are in the core[1] or some package.
[1] https://package.elm-lang.org/packages/elm-lang/core/5.1.1/Ba...