Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/delete/11.4.1-3-2.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 11.4.1-3-2
6 description: >
7 delete operator throws ReferenceError when deleting an explicitly
8 qualified yet unresolvable reference (base obj undefined)
9 ---*/
10
11 // just cooking up a long/veryLikely unique name
12 assert.throws(ReferenceError, function() {
13 var d = delete __ES3_1_test_suite_test_11_4_1_3_unique_id_2__.x;
14 });