Object.defineProperty(Array.prototype, 'isEmpty', {
get: function() {
return Array.isArray(this) && this.length === 0
},
set: function() {
}
})
Object.defineProperty(Array.prototype, 'isEmpty', {
get: function() {
return Array.isArray(this) && this.length === 0
},
set: function() {
}
})