Can someone please point me in the right direction? I’m getting the errors,
Preformatted text// running tests
2. Your calculate function should use the .filter() method on the numbers array.
3. You should assign the result of numbers.filter() to the filtered variable.
// tests completed
[ 1, 2 ]
Step 6 instructions say nothing about logging filtered or implementing the filter() method. In the future, please use the HELP button to ask your forum question so your code is formatted and we get a link to the project step you’re on. You can also add 3 backticks (```) before and after your code or use the </> in the editor.
Yes. Your filter() method should have been empty, and you should not have logged filtered based on the instructions for this step. Sorry you were confused by my edit (now removed) that was intended for another poster.
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.
The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.