diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-rest-parameter-with-function-parameters.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-rest-parameter-with-function-parameters.md index 047aaa6938..888e68da6b 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-rest-parameter-with-function-parameters.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/use-the-rest-parameter-with-function-parameters.md @@ -52,7 +52,7 @@ The result of `sum()` should be 0 assert(sum() === 0); ``` -The `sum` function should use the `...` rest parameter on the `args` parameter. +`sum` should be an arrow function which uses the rest parameter syntax (`...`) on the `args` parameter. ```js assert(__helpers.removeWhiteSpace(code).match(/sum=\(\.\.\.args\)=>/));