Hacker News new | ask | show | jobs
by altschuler 4353 days ago
A detail I've noticed when compiling to JavaScript is that Kotlin is not a reserved word, and if you bind something to it, it breaks the generated JavaScript.

fun main(args : Array<String>) {

  println("Hello, world!")

  val Kotlin = 0
}

will result in a type error