Consolidate prototype vars used only once.

This commit is contained in:
John-David Dalton
2017-01-09 18:16:47 -08:00
parent bc4262f901
commit f2c49500ee
25 changed files with 27 additions and 104 deletions

View File

@@ -3,11 +3,8 @@ import getAllKeys from './_getAllKeys.js';
/** Used to compose bitmasks for value comparisons. */
const COMPARE_PARTIAL_FLAG = 1;
/** Used for built-in method references. */
const objectProto = Object.prototype;
/** Used to check objects for own properties. */
const hasOwnProperty = objectProto.hasOwnProperty;
const hasOwnProperty = Object.prototype.hasOwnProperty;
/**
* A specialized version of `baseIsEqualDeep` for objects with support for