mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Consolidate prototype vars used only once.
This commit is contained in:
@@ -2,11 +2,8 @@ import isObject from './isObject.js';
|
||||
import isPrototype from './_isPrototype.js';
|
||||
import nativeKeysIn from './_nativeKeysIn.js';
|
||||
|
||||
/** 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;
|
||||
|
||||
/**
|
||||
* The base implementation of `keysIn` which doesn't treat sparse arrays as dense.
|
||||
|
||||
Reference in New Issue
Block a user