How can I check if an anonymous object that was created as such:
var myObj = { prop1: \'no\', prop2: function () { return false; } }
One way to do it must be if (typeof myObj.prop1 != "undefined") {...}
if (typeof myObj.prop1 != "undefined") {...}