summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/constructor/8.2.2.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/tests/non262/Tuple/constructor/8.2.2.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/tests/non262/Tuple/constructor/8.2.2.js b/js/src/tests/non262/Tuple/constructor/8.2.2.js
new file mode 100644
index 0000000000..938f7896d7
--- /dev/null
+++ b/js/src/tests/non262/Tuple/constructor/8.2.2.js
@@ -0,0 +1,11 @@
+// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
+
+/*
+8.2.2 Properties of the Tuple Constructor
+The Tuple constructor:
+
+has a [[Prototype]] internal slot whose value is %Function.prototype%.
+*/
+assertEq(Object.getPrototypeOf(Tuple), Function.prototype);
+
+reportCompare(0, 0);