0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

chore: remove test files (#11331)

This commit is contained in:
Luca Casonato 2021-07-08 10:18:44 +02:00 committed by GitHub
parent 5e5095bbe3
commit ce587a15da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 19 deletions

14
main.js
View file

@ -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);
};

View file

@ -1,5 +0,0 @@
self.postMessage("ready");
globalThis.addEventListener("message", (e) => {
new Uint8Array(e.data)[0] = 1;
});