js コマンド ライン コンパイラを使用するにはどうすればよいですか?
fun main(args: Array<String>): Unit {
println("Hello world!")
}
E:\kotlinc\bin>kotlinc-js -output test -sourceFiles test.kt
ERROR: E:\kotlinc\bin\test.kt: (4, 5) Unresolved reference: println
exec() finished with COMPILATION_ERROR return code
IDE では、js のコンパイルも機能しませんでした。IntelliJ IDEA 12 の最新の入門ガイドはありますか?