aboutsummaryrefslogtreecommitdiffstats
path: root/external/contributions/Microsoft/ietcLatest/TestCases/ch12/12.14/12.14.1/12.14.1-1gs.js
blob: d59f4a95ed3ef66028a304a9a7faecafa206bf8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12


/**
 * @path ch12/12.14/12.14.1/12.14.1-1gs.js
 * @description Strict Mode - SyntaxError is thrown if a TryStatement with a Catch occurs within strict code and the Identifier of the Catch production is eval
 * @onlyStrict
 * @negative ^((?!NotEarlyError).)*$
 */

"use strict";
throw NotEarlyError;
try { } catch (eval) { }