blob: aa4a3e2c92bbd708f862b5e1d7d15962fd20683e [file] [log] [blame]
// 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"
}