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

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

Issue 1273543002: Delete --harmony-computed-property-names flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 4 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-computed-property-names
6
7 5
8 function ID(x) { 6 function ID(x) {
9 return x; 7 return x;
10 } 8 }
11 9
12 10
13 11
14 (function TestBasicsString() { 12 (function TestBasicsString() {
15 var object = { 13 var object = {
16 a: 'A', 14 a: 'A',
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 var o = { 291 var o = {
294 get [throwMyError()]() { return 42; } 292 get [throwMyError()]() { return 42; }
295 }; 293 };
296 }, MyError); 294 }, MyError);
297 assertThrows(function() { 295 assertThrows(function() {
298 var o = { 296 var o = {
299 set [throwMyError()](_) { } 297 set [throwMyError()](_) { }
300 }; 298 };
301 }, MyError); 299 }, MyError);
302 })(); 300 })();
OLDNEW
« no previous file with comments | « test/mjsunit/es6/class-computed-property-names-super.js ('k') | test/mjsunit/es6/computed-property-names-classes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698