Remove unecessary attributes for Object.isObject
This commit is contained in:
parent
c27266c234
commit
194e8d948a
1 changed files with 0 additions and 3 deletions
3
lib/utils/prototypes.js
vendored
3
lib/utils/prototypes.js
vendored
|
@ -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]')
|
||||||
|
|
Loading…
Reference in a new issue