tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

func-decl-final-runtime.js (551B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: use-strict-directive
      6 es5id: 10.1.1-21-s
      7 description: >
      8    Strict Mode - Function code of a FunctionDeclaration contains Use
      9    Strict Directive which appears at the end of the block
     10 flags: [noStrict]
     11 ---*/
     12        function fun() {
     13            test262unresolvable = null;
     14            assert.sameValue(test262unresolvable, null);
     15            "use strict";
     16        }
     17        fun();
     18 
     19 reportCompare(0, 0);