mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Consolidate prototype vars used only once.
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
/** Used for built-in method references. */
|
||||
const arrayProto = Array.prototype;
|
||||
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
const nativeReverse = arrayProto.reverse;
|
||||
const nativeReverse = Array.prototype.reverse;
|
||||
|
||||
/**
|
||||
* Reverses `array` so that the first element becomes the last, the second
|
||||
|
||||
Reference in New Issue
Block a user