From 7ffe700d6627838207a3d880880ba4bd248533ce Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 6 Mar 2017 23:05:28 -0800 Subject: [PATCH] Remove `join`. --- join.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 join.js diff --git a/join.js b/join.js deleted file mode 100644 index f1e547779..000000000 --- a/join.js +++ /dev/null @@ -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