mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Consolidate prototype vars used only once.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import createInverter from './_createInverter.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;
|
||||
|
||||
/**
|
||||
* This method is like `invert` except that the inverted object is generated
|
||||
|
||||
Reference in New Issue
Block a user