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 './baseSlice.js';
import baseSlice from './baseSlice.js'
/**
* Casts `array` to a slice if it's needed.
@@ -10,9 +10,9 @@ import baseSlice from './baseSlice.js';
* @returns {Array} Returns the cast slice.
*/
function castSlice(array, start, end) {
const length = array.length;
end = end === undefined ? length : end;
return (!start && end >= length) ? array : baseSlice(array, start, end);
const length = array.length
end = end === undefined ? length : end
return (!start && end >= length) ? array : baseSlice(array, start, end)
}
export default castSlice;
export default castSlice