Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@firien
Latest commit 299e505 Sep 12, 2022 History
2 contributors

Users who have contributed to this file

@schalkneethling @firien
onconnect = function (event) {
const port = event.ports[0];
port.onmessage = function (e) {
const workerResult = `Result: ${e.data[0] * e.data[1]}`;
port.postMessage(workerResult);
};
};