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,5 +1,5 @@
import apply from './.internal/apply.js';
import arrayEvery from './.internal/arrayEvery.js';
import apply from './.internal/apply.js'
import arrayEvery from './.internal/arrayEvery.js'
/**
* Creates a function that checks if **all** of the `predicates` return
@@ -12,22 +12,22 @@ import arrayEvery from './.internal/arrayEvery.js';
* @returns {Function} Returns the new function.
* @example
*
* const func = overEvery([Boolean, isFinite]);
* const func = overEvery([Boolean, isFinite])
*
* func('1');
* func('1')
* // => true
*
* func(null);
* func(null)
* // => false
*
* func(NaN);
* func(NaN)
* // => false
*/
function overEvery(iteratees) {
return function(...args) {
const thisArg = this;
return arrayEvery(iteratees, iteratee => apply(iteratee, thisArg, args));
};
const thisArg = this
return arrayEvery(iteratees, iteratee => apply(iteratee, thisArg, args))
}
}
export default overEvery;
export default overEvery