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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/js/kde/resources/const.js

Issue 1815833002: Rebaseline, fix, or remove various tests dealing with V8 behavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(Empty)
1 // constant definition
2 const c = 11;
3 shouldBe("c", "11");
4
5 // attempt to redefine should have no effect
6 c = 22;
7 shouldBe("c", "11");
8
9 const dummy = 0;
10 for (var v = 0;;) {
11 ++v;
12 shouldBe("v", "1");
13 break;
14 }
15
16 // ### check for forbidden redeclaration
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698