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

Side by Side Diff: test/mjsunit/es6/class-computed-property-names-super.js

Issue 1858943002: Remove runtime flags for sloppy mode block scoping features (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 8 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
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 4
5 // Flags: --harmony-sloppy
6 // Flags: --allow-natives-syntax 5 // Flags: --allow-natives-syntax
7 6
8 7
9 function ID(x) { 8 function ID(x) {
10 return x; 9 return x;
11 } 10 }
12 11
13 12
14 (function TestComputedMethodSuper() { 13 (function TestComputedMethodSuper() {
15 class Base { 14 class Base {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 66 }
68 new Derived().a = 2; 67 new Derived().a = 2;
69 assertEquals('a 2', value); 68 assertEquals('a 2', value);
70 new Derived().b = 3; 69 new Derived().b = 3;
71 assertEquals('b 3', value); 70 assertEquals('b 3', value);
72 new Derived()[0] = 4; 71 new Derived()[0] = 4;
73 assertEquals('0 4', value); 72 assertEquals('0 4', value);
74 new Derived()[1] = 5; 73 new Derived()[1] = 5;
75 assertEquals('1 5', value); 74 assertEquals('1 5', value);
76 })(); 75 })();
OLDNEW
« no previous file with comments | « test/mjsunit/es6/block-sloppy-function.js ('k') | test/mjsunit/es6/class-property-name-eval-arguments.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698