Source code
Revision control
Copy as Markdown
Other Tools
<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE HTML>
<html>
<head>
<script>
self.onmessage = (msg) => {
const workerLoadedPort = msg.ports[0];
const worker = new Worker(msg.data);
worker.onmessage = () => {
workerLoadedPort.postMessage("worker loaded");
};
};
</script>
</head>
<body></body>
</html>