Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: test/mjsunit/es6/regress/regress-3683.js

Issue 1007783002: Remove --harmony-scoping flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CR feedback Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/es6/regress/regress-3426.js ('k') | test/mjsunit/es6/regress/regress-3741.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 //
5 // Flags: --harmony-scoping
6 4
7 "use strict"; 5 "use strict";
8 6
9 // Simplest case 7 // Simplest case
10 var count = 0; 8 var count = 0;
11 for (let x = 0; x < 10;) { 9 for (let x = 0; x < 10;) {
12 x++; 10 x++;
13 count++; 11 count++;
14 continue; 12 continue;
15 } 13 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 count = 0; 73 count = 0;
76 outer: for (let x = 0; x < 10;) { 74 outer: for (let x = 0; x < 10;) {
77 x++; 75 x++;
78 for (let y = 0; y < 2;) { 76 for (let y = 0; y < 2;) {
79 y++; 77 y++;
80 count++; 78 count++;
81 if (y == 2) continue outer; 79 if (y == 2) continue outer;
82 } 80 }
83 } 81 }
84 assertEquals(20, count); 82 assertEquals(20, count);
OLDNEW
« no previous file with comments | « test/mjsunit/es6/regress/regress-3426.js ('k') | test/mjsunit/es6/regress/regress-3741.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698