mirror of https://github.com/tc39/test262.git
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
|
|
|
|
/**
|
|
* @path chapter12/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) { }
|