summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/delete/11.4.1-3-3.js
blob: 6b1fbba70089b6936d93888803d0dfddb231f674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-delete-operator-runtime-semantics-evaluation
description: >
    delete operator returns true when deleting an explicitly qualified
    yet unresolvable reference (property undefined for base obj)
---*/

var o = {};
assert.sameValue(delete o.x, true);

reportCompare(0, 0);