How do I test for an empty JavaScript object?
After an AJAX request, sometimes my application may return an empty object, like:
var a = {};
How can I check whether that's the case?
After an AJAX request, sometimes my application may return an empty object, like:
var a = {};
How can I check whether that's the case?