Debian Codegraph @

js/src/tests/test262/built-ins/NativeErrors/SyntaxError/prop-desc.js

raw
1 // Copyright (C) 2019 Bocoup. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-constructor-properties-of-the-global-object-syntaxerror
6 description: Property descriptor for SyntaxError
7 info: |
8 Every other data property described in clauses 18 through 26 and in Annex B.2
9 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
10 [[Configurable]]: true } unless otherwise specified.
11 includes: [propertyHelper.js]
12 ---*/
13
14 verifyProperty(this, "SyntaxError", {
15 writable: true,
16 enumerable: false,
17 configurable: true
18 });
19
20 reportCompare(0, 0);