diff options
Diffstat (limited to 'js/src/tests/non262/Tuple/from/prop-desc.js')
-rw-r--r-- | js/src/tests/non262/Tuple/from/prop-desc.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/tests/non262/Tuple/from/prop-desc.js b/js/src/tests/non262/Tuple/from/prop-desc.js new file mode 100644 index 0000000000..60d5575187 --- /dev/null +++ b/js/src/tests/non262/Tuple/from/prop-desc.js @@ -0,0 +1,9 @@ +// |reftest| skip-if(!this.hasOwnProperty("Tuple")) + +var desc = Object.getOwnPropertyDescriptor(Tuple, "from"); +assertEq(desc.value, Tuple.from); +assertEq(desc.writable, true); +assertEq(desc.enumerable, false); +assertEq(desc.configurable, true); + +reportCompare(0, 0); |