Even, if it was y,x in java the javascript version...
# javascript
g
Even, if it was y,x in java the javascript version of Math.kt exposes the Javascript Math object. So it should respect the Javascript api. The problem is that the first param is really the y param but named x.
r
gaetan: Ah, I seem to have misunderstood your comment as well. That makes sense now.
I think you should file a bug.
g
I’m currently doing it.
👍 1
I filled a bug and even proposed a pull request 😉. https://github.com/JetBrains/kotlin/pull/1081
r
Nice 🙂