author | sundar |
Wed, 06 May 2015 20:04:42 +0530 | |
changeset 30394 | 72a59e4dffea |
parent 24738 | be2026c9717c |
permissions | -rw-r--r-- |
18334 | 1 |
x = 33 |
2 |
func.x = 23 |
|
3 |
func.x = hello |
|
24738
be2026c9717c
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents:
18334
diff
changeset
|
4 |
func.x = 24 |
be2026c9717c
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents:
18334
diff
changeset
|
5 |
func.x = hello2 |
be2026c9717c
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents:
18334
diff
changeset
|
6 |
func.x = 25 |
be2026c9717c
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects.
lagergren
parents:
18334
diff
changeset
|
7 |
func.x = hello3 |
18334 | 8 |
global instanceof fObject? true |
9 |
x is wriable ? true |
|
10 |
x value = 33 |
|
11 |
global's __proto__ [object Object] |
|
12 |
Object.keys on obj |
|
13 |
foo |
|
14 |
Object.getOwnProperties on obj |
|
15 |
foo |
|
16 |
bar |
|
17 |
forEach 334 |
|
18 |
forEach 55 |
|
19 |
forEach 65 |
|
20 |
reduceRight cur value 65 |
|
21 |
reduceRight cur value 55 |
|
22 |
reduceRight cur value 334 |
|
23 |
reduceRight 454 |
|
24 |
reduce cur value 334 |
|
25 |
reduce cur value 55 |
|
26 |
reduce cur value 65 |
|
27 |
reduce 454 |
|
28 |
forEach |
|
29 |
334 |
|
30 |
55 |
|
31 |
65 |
|
32 |
Array.isArray(array)? true |
|
33 |
TypeError: "bar" is not a writable property of [object Object] |
|
34 |
forEach on mirror |
|
35 |
334 |
|
36 |
55 |
|
37 |
65 |