SyntaxFix
Write A Post
Hire A Developer
Questions
I've often done:
function doSomething(variable) { var undef; if(variable === undef) { alert('Hey moron, define this bad boy.'); } }