The official underscore.js uses this check to find out if something is really an object
// Is a given variable an object?
_.isObject = function(obj) {
return obj === Object(obj);
};
The official underscore.js uses this check to find out if something is really an object
// Is a given variable an object?
_.isObject = function(obj) {
return obj === Object(obj);
};