diff --git a/snippets/ary.md b/snippets/ary.md index 6f988d4d3..63b1c0cd9 100644 --- a/snippets/ary.md +++ b/snippets/ary.md @@ -5,7 +5,7 @@ tags: adapter,function,intermediate Creates a function that accepts up to `n` arguments, ignoring any additional arguments. -Call the provided function, `fn`, with up to `n` arguments, using `Array.prototype.slice(0,n)` and the spread operator (`...`). +Call the provided function, `fn`, with up to `n` arguments, using `Array.prototype.slice(0, n)` and the spread operator (`...`). ```js const ary = (fn, n) => (...args) => fn(...args.slice(0, n));