summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js')
-rw-r--r--js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js b/js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js
new file mode 100644
index 0000000000..0af5107ccb
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Set/prototype/isDisjointFrom/length.js
@@ -0,0 +1,21 @@
+// |reftest| skip -- set-methods is not supported
+// Copyright (C) 2023 Anthony Frehner and Kevin Gibbons. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-set.prototype.isdisjointfrom
+description: Set.prototype.isDisjointFrom length property
+info: |
+ Set.prototype.isDisjointFrom ( other )
+includes: [propertyHelper.js]
+features: [set-methods]
+---*/
+assert.sameValue(typeof Set.prototype.isDisjointFrom, "function");
+
+verifyProperty(Set.prototype.isDisjointFrom, "length", {
+ enumerable: false,
+ writable: false,
+ configurable: true,
+ value: 1,
+});
+
+reportCompare(0, 0);