nashorn/test/script/basic/JDK-8011578.js.EXPECTED
author sundar
Thu, 05 Sep 2013 21:17:06 +0530
changeset 19883 aae0838ac6ee
parent 17234 7eda96a52c27
permissions -rw-r--r--
8024255: When a keyword is used as object property name, the property can not be deleted Reviewed-by: jlaskey, lagergren

o.foo = 33
o.foo = 44
o.foo = 3
o.foo = hello
obj1.func called
obj2.func called
no such method: func
obj4's prototype func called
MyConstructor.prototype.func
MyConstructor.prototype.func
obj1.func called
obj2.func called
new obj3.func called
new obj4.func called
all new MyConstructor.prototype.func
all new MyConstructor.prototype.func
obj.__noSuchProperty__ for foo
new obj.__noSuchProperty__ for foo
proto.__noSuchProperty__ for foo
new proto.__noSuchProperty__ for foo
find
find