Debian Codegraph @

js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js

raw
1 // Copyright (c) 2021 Jamie Kyle. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-object.hasown
6 description: Testing descriptor property of Object.hasOwn
7 includes: [propertyHelper.js]
8 author: Jamie Kyle
9 features: [Object.hasOwn]
10 ---*/
11
12 verifyProperty(Object, "hasOwn", {
13 writable: true,
14 enumerable: false,
15 configurable: true,
16 });
17
18 reportCompare(0, 0);