Debian Codegraph @

js/src/tests/test262/built-ins/Error/isError/name.js

raw
1 // |reftest| shell-option(--enable-error-iserror) skip-if(!Error.isError||!xulRuntime.shell) -- Error.isError is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2024 Jordan Harband. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-error.iserror
7 description: >
8 The initial value of Error.isError.name is "isError".
9 features: [Error.isError]
10 ---*/
11
12 assert.sameValue(Error.isError.name, 'isError');
13
14
15 reportCompare(0, 0);