Skip to content
Permalink
gh-pages
Switch branches/tags
Go to file
@102
Latest commit 73fb1cc Apr 9, 2016 History
2 contributors

Users who have contributed to this file

@102 @chrisdavidmills
onconnect = function(e) {
var port = e.ports[0];
port.onmessage = function(e) {
var workerResult = 'Result: ' + (e.data[0] * e.data[1]);
port.postMessage(workerResult);
}
}