JS declarations: added eval, typeof, undefined.

#KT-4136 Fixed
This commit is contained in:
Zalim Bashorov
2014-12-24 16:02:13 +03:00
parent 0988d6cace
commit 9ab045e598
14 changed files with 81 additions and 60 deletions
@@ -2,7 +2,6 @@ package foo
val PACKAGE = "Kotlin.modules.JS_TESTS.foo"
native fun eval(e: String): Any? = noImpl
fun funToString(name: String) = eval("$PACKAGE.$name.toString()") as String
native("\"O\"") val foo: String = noImpl