diff options
Diffstat (limited to 'js/src/tests/non262/global/globalThis-enumeration.js')
-rw-r--r-- | js/src/tests/non262/global/globalThis-enumeration.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/tests/non262/global/globalThis-enumeration.js b/js/src/tests/non262/global/globalThis-enumeration.js new file mode 100644 index 0000000000..ecd5029473 --- /dev/null +++ b/js/src/tests/non262/global/globalThis-enumeration.js @@ -0,0 +1,5 @@ +assertEq(Object.getOwnPropertyNames(this).includes('globalThis'), true); + +if (typeof reportCompare === "function") { + reportCompare(0, 0); +} |