Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onmessage = function(message){
- console.log("We received " + message);
- onmessage = null;
- }
- //Initial guess to launch the ping/pong in and outside the sandbox
- var answer = ['R','P','P','B'];
- postMessage(answer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement