Index: autotest/test_abprewrite.js.expected |
=================================================================== |
--- a/autotest/test_abprewrite.js.expected |
+++ b/autotest/test_abprewrite.js.expected |
@@ -61,51 +61,62 @@ for (var _loopIndex9 = 0; _loopIndex9 < |
{ |
k = fooList[_loopIndex9]; |
alert(k); |
} |
var a = function() |
{ |
return 1; |
}; |
-var b = |
-{ |
+var b = { |
get foo() |
{ |
return 1; |
} |
}; |
+ |
+function foo() |
+{ |
+ return { |
+ foo: 1, |
+ bar: 2 |
+ }; |
+} |
if (a == b) |
{ |
foo(); |
} |
else if (a == c) |
{ |
bar(); |
} |
else |
{ |
bas(); |
} |
-if (a == b){} |
+if (a == b) |
+{} |
for (var a = 0; a < b.length; a++) |
{ |
foo(); |
} |
-for (var a = 0; a < b.length; a++){} |
+for (var a = 0; a < b.length; a++) |
+{} |
for (var a in b) |
{ |
foo(); |
} |
-for (var a in b){} |
+for (var a in b) |
+{} |
while (a == b) |
{ |
foo(); |
} |
-while (a == b){} |
+while (a == b) |
+{} |
function genFunc() |
{ |
var _generatorResult10 = []; |
for (var i = 0; i < 10; i++) |
{ |
_generatorResult10.push(i); |
} |