From 194e8d948ab67615a98c8a5c194ea389814410a5 Mon Sep 17 00:00:00 2001 From: pyoor Date: Tue, 13 Jun 2017 13:19:33 -0400 Subject: [PATCH] Remove unecessary attributes for Object.isObject --- lib/utils/prototypes.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/utils/prototypes.js b/lib/utils/prototypes.js index 795044b..014449e 100644 --- a/lib/utils/prototypes.js +++ b/lib/utils/prototypes.js @@ -68,9 +68,6 @@ Object.defineProperty(Array.prototype, 'extend', { }) Object.defineProperty(Object, 'isObject', { - configurable: true, - enumerable: false, - writable: true, value: function (obj) { return (obj != null && typeof obj === 'object' && Object.prototype.toString.call(obj) === '[object Object]')