SHARE
TWEET

Untitled

a guest Jun 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ws.send(['setup',1,2]);
  2.      
  3. ws.addEventListener('message',function(e){
  4.     const data = e.data;
  5.     console.log(data);
  6. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top