In this thread I found a JavaScript code snippet which I want to use.

The code looks like:

(function(global) {
  // the function code comes here
})(this);

How can i call this function to execute the code? What do I have to pass in for this global variable?

Edit
Report