SyntaxFix
Write A Post
Hire A Developer
Questions
If you are using Angular:
angular.isUndefined(obj) angular.isUndefined(obj.prop)
Underscore.js:
_.isUndefined(obj) _.isUndefined(obj.prop)