Remove join.

This commit is contained in:
John-David Dalton
2017-03-06 23:05:28 -08:00
parent 49ac4a5b52
commit 7ffe700d66

21
join.js
View File

@@ -1,21 +0,0 @@
/* Built-in method references for those with the same name as other `lodash` methods. */
const nativeJoin = Array.prototype.join
/**
* Converts all elements in `array` into a string separated by `separator`.
*
* @since 4.0.0
* @category Array
* @param {Array} array The array to convert.
* @param {string} [separator=','] The element separator.
* @returns {string} Returns the joined string.
* @example
*
* join(['a', 'b', 'c'], '~')
* // => 'a~b~c'
*/
function join(array, separator) {
return array == null ? '' : nativeJoin.call(array, separator)
}
export default join