feat: add polyfills insertion for ES Next used features
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// !LANGUAGE: +JsAllowInvalidCharsIdentifiersEscaping
|
||||
// TARGET_BACKEND: JS_IR
|
||||
// FILE: main.js
|
||||
this.globalThis = { "Is Just Created Global This": true }
|
||||
|
||||
// FILE: main.kt
|
||||
external val `Is Just Created Global This`: Boolean
|
||||
|
||||
fun box(): String {
|
||||
assertEquals(`Is Just Created Global This`, true)
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user