blob: d97102bf8ff5e68228f76e57367be7dcb8313eff [file]
// KJS_WITH_FULL_RUNTIME
fun box() : String {
val s = ArrayList<String>()
s.add("foo")
s[0] += "bar"
return if(s[0] == "foobar") "OK" else "fail"
}