Add missing DummyError function definition to target-super-computed-reference.js

This commit is contained in:
Marko Lahma 2024-04-13 20:07:02 +03:00 committed by Philip Chimento
parent 23c3e0111b
commit 263c514afa
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ info: |
ToPropertyKey(prop) occurs after both sides are evaluated.
---*/
function DummyError() {}
assert.throws(DummyError, function() {
var prop = function() {
throw new DummyError();