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:
parent
5e5095bbe3
commit
ce587a15da
2 changed files with 0 additions and 19 deletions
14
main.js
14
main.js
|
@ -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);
|
||||
};
|
|
@ -1,5 +0,0 @@
|
|||
self.postMessage("ready");
|
||||
|
||||
globalThis.addEventListener("message", (e) => {
|
||||
new Uint8Array(e.data)[0] = 1;
|
||||
});
|
Loading…
Reference in a new issue