nashorn/test/script/basic/JDK-8016618.js.EXPECTED
author hannesw
Thu, 16 Apr 2015 17:31:32 +0200 (2015-04-16)
changeset 29941 4da7ab19348e
parent 24738 be2026c9717c
permissions -rw-r--r--
8077955: Undeclared globals in eval code should not be handled as fast scope Reviewed-by: lagergren, attila
x = 33
func.x = 23
func.x = hello
func.x = 24
func.x = hello2
func.x = 25
func.x = hello3
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