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 baseFlatten from './.internal/baseFlatten.js';
import baseFlatten from './.internal/baseFlatten.js'
/**
* Flattens `array` a single level deep.
@@ -10,12 +10,12 @@ import baseFlatten from './.internal/baseFlatten.js';
* @see flatMap, flatMapDeep, flatMapDepth, flattenDeep, flattenDepth
* @example
*
* flatten([1, [2, [3, [4]], 5]]);
* flatten([1, [2, [3, [4]], 5]])
* // => [1, 2, [3, [4]], 5]
*/
function flatten(array) {
const length = array == null ? 0 : array.length;
return length ? baseFlatten(array, 1) : [];
const length = array == null ? 0 : array.length
return length ? baseFlatten(array, 1) : []
}
export default flatten;
export default flatten