aboutsummaryrefslogtreecommitdiffstats
path: root/external/contributions/Microsoft/ietcLatest/TestCases/ch15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
blob: 90a24f4a2475b6ea6b4493d10c0a2bbf420a5b5b (plain)
1
2
3
4
5
6
7
8
9
10
11


/**
 * @path ch15/15.3/15.3.2/15.3.2.1/15.3.2.1-10-6gs.js
 * @description Strict Mode - SyntaxError is thrown if a function using the Function constructor has two identical parameters in (local) strict mode
 * @onlyStrict
 * @negative NotEarlyError
 */

throw NotEarlyError;
var _15_3_2_1_10_6_fun = new Function('param_1', 'param_2', 'param_1', '"use strict";return 0;');