summaryrefslogtreecommitdiffstats
path: root/vendor/js-sys/tests/headless.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/js-sys/tests/headless.js')
-rw-r--r--vendor/js-sys/tests/headless.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/js-sys/tests/headless.js b/vendor/js-sys/tests/headless.js
new file mode 100644
index 000000000..ba93a0917
--- /dev/null
+++ b/vendor/js-sys/tests/headless.js
@@ -0,0 +1,3 @@
+export function is_array_values_supported() {
+ return typeof Array.prototype.values === 'function';
+}