summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-07-08 10:18:44 +0200
committerGitHub <noreply@github.com>2021-07-08 10:18:44 +0200
commitce587a15daa7238db3cf8d3dee9d41a71bc2fc6a (patch)
treea3f48ea0cdba654bdafb98937020f4d42776d482 /main.js
parent5e5095bbe3c9a666d6888ca401d864e0a0fa6240 (diff)
chore: remove test files (#11331)
Diffstat (limited to 'main.js')
-rw-r--r--main.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/main.js b/main.js
deleted file mode 100644
index feb6c5a1e..000000000
--- a/main.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const worker = new Worker(new URL("./worker.js", import.meta.url), {
- type: "module",
-});
-
-const sab = new SharedArrayBuffer(1);
-console.log(new Uint8Array(sab));
-
-setInterval(() => {
- console.log(new Uint8Array(sab));
-}, 100);
-
-worker.onmessage = () => {
- worker.postMessage(sab);
-};