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

/*---
info: "\"This\" operator only evaluates Expression"
es5id: 11.1.6_A3_T6
description: Applying grouping operator to delete operator
flags: [noStrict]
---*/

//CHECK#1
if (delete (x) !== true) {
  throw new Test262Error('#1: delete (x) === true');
}

reportCompare(0, 0);