Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: autotest/abprewrite_source.js

Issue 10000013: Update to current version of the SpiderMonkey shell, adjust for thedifferent handling of for loops… (Closed)
Patch Set: Created April 3, 2013, 11:24 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « autotest.py ('k') | scripts/abprewrite.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: autotest/abprewrite_source.js
===================================================================
--- a/autotest/abprewrite_source.js
+++ b/autotest/abprewrite_source.js
@@ -42,21 +42,21 @@ let b = {
if (a == b)
foo();
else if (a == c)
bar();
else
bas();
if (a == b);
-for (var a = 0; a < b.length; a++)
+for (let a = 0; a < b.length; a++)
foo();
for (var a = 0; a < b.length; a++);
-for (var a in b)
+for (let a in b)
foo();
for (var a in b);
while (a==b)
foo();
while (a==b);
function genFunc()
« no previous file with comments | « autotest.py ('k') | scripts/abprewrite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld