nashorn/test/script/basic/JDK-8016618.js.EXPECTED
author sundar
Wed, 21 Aug 2013 17:28:53 +0530
changeset 19619 4085b74056ee
parent 18334 47413e8d71b5
child 24738 be2026c9717c
permissions -rw-r--r--
8023368: Instance __proto__ property should exist and be writable. Reviewed-by: attila, hannesw

x = 33
func.x = 23
func.x = hello
global instanceof fObject? true
x is wriable ? true
x value = 33
global's __proto__ [object Object]
Object.keys on obj
foo
Object.getOwnProperties on obj
foo
bar
forEach 334
forEach 55
forEach 65
reduceRight cur value 65
reduceRight cur value 55
reduceRight cur value 334
reduceRight 454
reduce cur value 334
reduce cur value 55
reduce cur value 65
reduce 454
forEach
334
55
65
Array.isArray(array)? true
TypeError: "bar" is not a writable property of [object Object]
forEach on mirror
334
55
65