(function (g, d, a) {})(window, document, jQuery);

JavaScript
;(                                 // <---------------+
                                   //                 | encapsulate the function
  function($, window, document) {  // <--+ declare    | and call it passing three
                                   //    | anonymous  | arguments.
  }                                // <--+ function   |
                                   //                 |
)(jQuery, window, document);       // <---------------+
Source

Also in JavaScript: