mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): clarify challenge instructions (#51475)
This commit is contained in:
+2
-2
@@ -8,9 +8,9 @@ dashedName: seek-and-destroy
|
|||||||
|
|
||||||
# --description--
|
# --description--
|
||||||
|
|
||||||
You will be provided with an initial array (the first argument in the `destroyer` function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.
|
You will be provided with an initial array as the first argument to the `destroyer` function, followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.
|
||||||
|
|
||||||
**Note:** You have to use the `arguments` object.
|
The function must accept an indeterminate number of arguments, also known as a variadic function. You can access the additional arguments by adding a rest parameter to the function definition or using the `arguments` object.
|
||||||
|
|
||||||
# --hints--
|
# --hints--
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user