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