Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,4 +1,4 @@
import baseSortedUniq from './.internal/baseSortedUniq.js';
import baseSortedUniq from './.internal/baseSortedUniq.js'
/**
* This method is like `uniq` except that it's designed and optimized
@@ -10,13 +10,13 @@ import baseSortedUniq from './.internal/baseSortedUniq.js';
* @returns {Array} Returns the new duplicate free array.
* @example
*
* sortedUniq([1, 1, 2]);
* sortedUniq([1, 1, 2])
* // => [1, 2]
*/
function sortedUniq(array) {
return (array && array.length)
? baseSortedUniq(array)
: [];
: []
}
export default sortedUniq;
export default sortedUniq