You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was stuck for a while today at the FILTERING exercise from Chapter 04. Couldn't get null at both 'a' and 'e' because the program wasn't considering all the values. Then I realized that at the "test' snippet from the book the values passed while creating "example" weren't in brackets and, so, weren't in an array.
I don't know if this is really a typo mistake or is just that I am doing this wrong (or both). But thought was important writing this issue in any case.
Thank you all for the book, is helping me a lot getting started with JavaScript !!
Best,
Pedro.
The text was updated successfully, but these errors were encountered:
Hi,
I was stuck for a while today at the FILTERING exercise from Chapter 04. Couldn't get null at both 'a' and 'e' because the program wasn't considering all the values. Then I realized that at the "test' snippet from the book the values passed while creating "example" weren't in brackets and, so, weren't in an array.
Look:
I was running the code with this solution:
and getting this result:
I got the result right by adding the brackets while creating "example". Look:
I don't know if this is really a typo mistake or is just that I am doing this wrong (or both). But thought was important writing this issue in any case.
Thank you all for the book, is helping me a lot getting started with JavaScript !!
Best,
Pedro.
The text was updated successfully, but these errors were encountered: