Remove unecessary attributes for Object.isObject

This commit is contained in:
pyoor 2017-06-13 13:19:33 -04:00
parent c27266c234
commit 194e8d948a

View file

@ -68,9 +68,6 @@ Object.defineProperty(Array.prototype, 'extend', {
}) })
Object.defineProperty(Object, 'isObject', { Object.defineProperty(Object, 'isObject', {
configurable: true,
enumerable: false,
writable: true,
value: function (obj) { value: function (obj) {
return (obj != null && typeof obj === 'object' && return (obj != null && typeof obj === 'object' &&
Object.prototype.toString.call(obj) === '[object Object]') Object.prototype.toString.call(obj) === '[object Object]')