Posted By

noah on 10/28/08


oo namespace jslint

Versions (?)

Conditionally instantiate an object

 / Published in: JavaScript


Dustin Diaz's take on conditional instantiation of an object in JavaScript. I don't think this will get a warning from JSLint.

  1. var DED = window.DED || {};

Report this snippet  

You need to login to post a comment.