Source code
Revision control
Copy as Markdown
Other Tools
var counter = 0;
onconnect = function (evt) {
evt.ports[0].postMessage(++counter);
};
var counter = 0;
onconnect = function (evt) {
evt.ports[0].postMessage(++counter);
};