diff --git a/underscore.js b/underscore.js index ba2ee7600..6f3ac8f47 100644 --- a/underscore.js +++ b/underscore.js @@ -309,11 +309,11 @@ // Return the number of elements in an object. _.size = function(obj) { - if (_.isArray(obj)) { - return obj.length; - } else { - return _.keys(obj).length; - } + if (_.isArray(obj)) { + return obj.length; + }else{ + return _.keys(obj).length; + } }; // Array Functions