nashorn/test/script/basic/JDK-8055762.js
changeset 28125 118973efb1d3
parent 26240 4639082d6375
--- a/nashorn/test/script/basic/JDK-8055762.js	Mon Dec 15 12:08:36 2014 +0100
+++ b/nashorn/test/script/basic/JDK-8055762.js	Mon Dec 15 12:32:34 2014 +0100
@@ -74,9 +74,12 @@
         }
     };
 
+    var a = "a";
     print(obj["foo"]);
+    print(obj[a + "bc"]);
     print(obj[2]);
     obj.bar = 23;
+    obj[a + "bc"] = 23;
     obj[3] = 23;
     obj.func("hello");
 }