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

Unified Diff: autotest/abprewrite_source.js

Issue 4935066966818816: Issue 1772 - [JSHydra] Convert const to var for Chrome (Closed)
Patch Set: Created Jan. 10, 2015, 12:03 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 | « no previous file | autotest/test_abprewrite.js.expected » ('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
@@ -8,16 +8,17 @@ Cu.import("foo/bar.jsm");
let {Timeline} = require("timeline");
let {Utils} = require("utils");
let {Filter, BlockingFilter} = require("filterClasses");
let foo;
let bar = 2;
var bas;
+const FOO = "FOO";
let [a, b] = foo();
[a, b] = [1, 2];
let {x: y} = foo();
let {k1: v1, k2: v2} = foo();
@@ -79,9 +80,9 @@ var a = function()
{
yield i;
}
};
let x = (y) => y + 1;
x = y => y + 1;
x = (a, b) => this[a] + b;
-x = (a, b) => { return () => 1; }
+x = (a, b) => { return () => 1; }
« no previous file with comments | « no previous file | autotest/test_abprewrite.js.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld