diff --git a/js/util/property.js b/js/util/property.js index e9b9a2359..b84b7a755 100644 --- a/js/util/property.js +++ b/js/util/property.js @@ -71,7 +71,7 @@ class Property { if (typeof this.default == 'function') { return this.default(instance); } else if (this.isArray) { - return this.default.slice(); + return this.default ? this.default.slice() : []; } else if (this.isObject) { return Object.keys(this.default).length ? JSON.parse(JSON.stringify(this.default)) : {}; } else {