Skip to content
Snippets Groups Projects
13_4-5gs.js 313 B
Newer Older
  • Learn to ignore specific revisions
  • 
    
    /**
     * @path chapter13/13.0/13_4-5gs.js
    
     * @description Strict Mode - SourceElements is evaluated as strict mode code when a FunctionDeclaration is contained in strict mode code
    
    Mark Miller's avatar
    Mark Miller committed
     * @onlyStrict
    
     * @negative ^((?!NotEarlyError).)*$
    
    Mark Miller's avatar
    Mark Miller committed
    "use strict";
    
    throw NotEarlyError;
    function _13_0_4_5_fun() { eval = 42; };