2013-06-14 21:16:14 +05:30
|
|
|
x = 33
|
|
|
|
func.x = 23
|
|
|
|
func.x = hello
|
2014-04-11 16:52:14 +02:00
|
|
|
func.x = 24
|
|
|
|
func.x = hello2
|
|
|
|
func.x = 25
|
|
|
|
func.x = hello3
|
2013-06-14 21:16:14 +05:30
|
|
|
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
|