mirror of https://github.com/tc39/test262.git
Coverage: delete undefined.property. Fixes gh-2763
This commit is contained in:
parent
21cdcb85d1
commit
3b1f4f7e1b
|
@ -0,0 +1,12 @@
|
||||||
|
// Copyright (c) 2020 Rick Waldron. 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 operations throws TypeError exception when base object is unresolvable reference.
|
||||||
|
---*/
|
||||||
|
|
||||||
|
assert.throws(TypeError, () => {
|
||||||
|
delete Object[0][0];
|
||||||
|
});
|
Loading…
Reference in New Issue