diff --git a/src/dat/utils/common.js b/src/dat/utils/common.js index 0a6e655..5cdaa84 100644 --- a/src/dat/utils/common.js +++ b/src/dat/utils/common.js @@ -132,7 +132,7 @@ const Common = { //isArray: Array.isArray || function(obj) { isArray: function(obj) { //return obj.constructor === Array; - return obj && obj.length >= 0 && typeof obj === 'object'; + return obj != void 0 && obj.length >= 0 && typeof obj === 'object'; }, isObject: function(obj) {