What\'s the best way of checking if an object property in JavaScript is undefined?
if ( typeof( something ) == "undefined")
This worked for me while the others didn't.