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:
5
join.js
5
join.js
@@ -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 nativeJoin = arrayProto.join;
|
||||
const nativeJoin = Array.prototype.join;
|
||||
|
||||
/**
|
||||
* Converts all elements in `array` into a string separated by `separator`.
|
||||
|
||||
Reference in New Issue
Block a user