mirror of https://github.com/tc39/test262.git
18 lines
481 B
JavaScript
18 lines
481 B
JavaScript
// 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) {
|
|
throw new Test262Error('#1: delete (x) === true');
|
|
}
|