Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Cool! I didn't know about this method
This comment is hidden because it contains spoiler information about the solution
It looks like you're assigning the ternary operator to a variable. Why is that? Is it meant to be an arrow function. I also agree, you would want to just use true/false without the quotes.
always run into err because of spelling...
nice one, I didn't know about includes method
same here
Who cared even before :D
IE is retired since June, who cares what it supports
For indexOf() fans: IE not supports includes() kekw
It's all through trial and error. Learning from mistakes and calling back from prior experiences! Good luck and happy coding!
straight to the point
And then, we look up the exact usage in a reference guide.
We don't, we just solve problems and build projects and the methods gets engraved in our brains in the process.
Great work! As developers, how do we remember all the methods?
Yeah this is straight to the point, nice! I'm working on learning how loops work and because I try to resolve most of the exercices with loops, I decided to first loop through the arrays and after check if the x is in the array with the includes function. Clearly what I did wasn't needed. :))
Loading more items...