summaryrefslogtreecommitdiff
path: root/test/language/expressions/grouping/S11.1.6_A2_T2.js
blob: 7a572a5d22bb02a2b1aa3a00c2baf310b269104d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: |
    "This" operator doesn't use GetValue. The operators "delete" and "typeof"
    can be applied to parenthesised expressions
es5id: 11.1.6_A2_T2
description: >
    Applying "delete" operator to an undefined variable
flags: [noStrict]
---*/

//CHECK#1
if (delete (x) !== true) {
  $ERROR('#1: delete (x) === true');
}