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 baseSlice from './.internal/baseSlice.js';
import baseSlice from './.internal/baseSlice.js'
/**
* Gets all but the last element of `array`.
@@ -9,12 +9,12 @@ import baseSlice from './.internal/baseSlice.js';
* @returns {Array} Returns the slice of `array`.
* @example
*
* initial([1, 2, 3]);
* initial([1, 2, 3])
* // => [1, 2]
*/
function initial(array) {
const length = array == null ? 0 : array.length;
return length ? baseSlice(array, 0, -1) : [];
const length = array == null ? 0 : array.length
return length ? baseSlice(array, 0, -1) : []
}
export default initial;
export default initial