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

Side by Side Diff: test/mjsunit/strong/function-arity.js

Issue 1373633002: Remove --harmony-arrow-functions flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 2 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/strong/destructuring.js ('k') | test/mjsunit/strong/literals.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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: --strong-mode --harmony-arrow-functions --harmony-reflect 5 // Flags: --strong-mode --harmony-reflect
6 // Flags: --harmony-spread-calls --harmony-rest-parameters --allow-natives-synta x 6 // Flags: --harmony-spread-calls --harmony-rest-parameters --allow-natives-synta x
7 7
8 'use strict'; 8 'use strict';
9 9
10 10
11 function generateArguments(n, prefix) { 11 function generateArguments(n, prefix) {
12 let a = []; 12 let a = [];
13 if (prefix) { 13 if (prefix) {
14 a.push(prefix); 14 a.push(prefix);
15 } 15 }
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 if (argumentCount < parameterCount) { 333 if (argumentCount < parameterCount) {
334 assertThrows(code, TypeError); 334 assertThrows(code, TypeError);
335 } else { 335 } else {
336 assertDoesNotThrow(code); 336 assertDoesNotThrow(code);
337 } 337 }
338 } 338 }
339 } 339 }
340 } 340 }
341 } 341 }
342 })(); 342 })();
OLDNEW
« no previous file with comments | « test/mjsunit/strong/destructuring.js ('k') | test/mjsunit/strong/literals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698