How to start using Kotlin for JavaScript?


#1

Hello!

Is it possible to write code in Kotlin, which is then translated to JavaScript (thus avoiding writing JavaScript) ?

If yes, are there any tutorials for learning, how to do it?

Thanks

Dmitri Pisarenko


#2

Yes, it’s possible.

You can start from here.
Other interesting links (probably some are old):


https://blog.jetbrains.com/kotlin/category/javascript/
http://www.indiepig.com/blog/kotlin-hello-js.php