tests/auto/qml/ecmascripttests/test262/test/language/expressions/object/prop-def-id-get-error.js
raw| 1 | // Copyright (C) 2015 the V8 project authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | /*--- |
| 4 | es6id: 12.2.5.9 |
| 5 | description: > |
| 6 | Errors thrown during IdentifierReference value retrieval are forwarded to |
| 7 | the runtime. |
| 8 | ---*/ |
| 9 | |
| 10 | assert.throws(ReferenceError, function() { |
| 11 | ({ unresolvable }); |
| 12 | }); |