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

14
ary.js
View File

@@ -1,7 +1,7 @@
import createWrap from './.internal/createWrap.js';
import createWrap from './.internal/createWrap.js'
/** Used to compose bitmasks for function metadata. */
const WRAP_ARY_FLAG = 128;
const WRAP_ARY_FLAG = 128
/**
* Creates a function that invokes `func`, with up to `n` arguments,
@@ -15,13 +15,13 @@ const WRAP_ARY_FLAG = 128;
* @returns {Function} Returns the new capped function.
* @example
*
* map(['6', '8', '10'], ary(parseInt, 1));
* map(['6', '8', '10'], ary(parseInt, 1))
* // => [6, 8, 10]
*/
function ary(func, n, guard) {
n = guard ? undefined : n;
n = (func && n == null) ? func.length : n;
return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);
n = guard ? undefined : n
n = (func && n == null) ? func.length : n
return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n)
}
export default ary;
export default ary