fix(curriculum): clarify challenge instructions (#51475)

This commit is contained in:
Lasse Jørgensen
2023-09-04 17:21:19 +02:00
committed by GitHub
parent e9c0bafc0e
commit 18922fabe1

View File

@@ -8,9 +8,9 @@ dashedName: seek-and-destroy
# --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--