12 lines
276 B
Kotlin
Vendored
12 lines
276 B
Kotlin
Vendored
package foo
|
|
|
|
|
|
@native
|
|
val classes: Map<String, Any> = noImpl
|
|
@native
|
|
val classesMutable: HashMap<String, String> = noImpl
|
|
|
|
fun box(): String {
|
|
classesMutable.set("why", "?")
|
|
return if (classes.get("answer") == 42 && classesMutable.get("why") == "?") "OK" else "fail"
|
|
} |