IMO, any 'undefined' variable will do, as long as you know its in
scope.  void is kinda ugly to me, probably damage from all the <a
href="javascript:void(0)" ... tags I've encountered.  I've seen this
pattern and I kinda like it.

(function(context, undefined){
  // undefined is not global and is kept safe from 3rd party code
}(this));
-- 
Marc (@wavded)

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to