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

@@ -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