SHARE
TWEET

Untitled

quantumech Apr 23rd, 2019 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var globalVar =
  2. {
  3.     name: "NOT SET",
  4.     ID: 0,
  5.     display: function()
  6.     {
  7.         console.log("Name: " + this.name)
  8.         console.log("ID: " + this.ID)
  9.     }
  10. }
  11.  
  12. Module.onRuntimeInitialized = function()
  13. {
  14.     Module.changeGlobalVar()
  15. }
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