tor-browser

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

func-expr-no-semi-runtime.js (458B)


      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-2-s
      7 description: >
      8    Strict Mode - Use Strict Directive Prologue is ''use strict''
      9    which lost the last character ';'
     10 flags: [noStrict]
     11 ---*/
     12 
     13 assert.throws(ReferenceError, function() {
     14        "use strict"
     15 
     16        test262unresolvable = null;
     17 });
     18 
     19 reportCompare(0, 0);