`tailrec` is not implemented in current JS backend...
# javascript
s
tailrec
is not implemented in current JS backend. It will work in the new Kotlin/JS compiler. You can watch https://youtrack.jetbrains.com/issue/KT-7069