summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js')
-rw-r--r--js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js b/js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js
new file mode 100644
index 0000000000..105e9eaa10
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Object/hasOwn/descriptor.js
@@ -0,0 +1,16 @@
+// Copyright (c) 2021 Jamie Kyle. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-object.hasown
+description: Testing descriptor property of Object.hasOwn
+includes: [propertyHelper.js]
+author: Jamie Kyle
+features: [Object.hasOwn]
+---*/
+
+verifyWritable(Object, "hasOwn");
+verifyNotEnumerable(Object, "hasOwn");
+verifyConfigurable(Object, "hasOwn");
+
+reportCompare(0, 0);