tor-browser

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

S11.1.6_A2_T2.js (503B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: |
      6    "This" operator doesn't use GetValue. The operators "delete" and "typeof"
      7    can be applied to parenthesised expressions
      8 es5id: 11.1.6_A2_T2
      9 description: >
     10    Applying "delete" operator to an undefined variable
     11 flags: [noStrict]
     12 ---*/
     13 
     14 //CHECK#1
     15 if (delete (x) !== true) {
     16  throw new Test262Error('#1: delete (x) === true');
     17 }
     18 
     19 reportCompare(0, 0);