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.
Yes Of Course it can simply work without classes. Just write the function outside of the class code block literal and invoke the function like this: findSmallestInt([23, 45, 67])
This comment is hidden because it contains spoiler information about the solution
same here lol
This comment is hidden because it contains spoiler information about the solution
I think a best practice is to always use a Named function instead of an Arrow function for easy error location and handling.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is probably best practices as well because it won't have a problem with null or undefined as toString() will.
this one excels
do you still the parameter if you dont need to use when using a arrow function ?
Looking cool :)
Same issue here. My solution included <li> tags and the tests kept erroring out at "<".
Eventually I yielded and came looking for the answers, saw that many past solutions used tags as well, so I copied and pasted them, and they also return an error "<". Does anybody have any idea what's going on?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You're correct. Please, however, use a
spoiler
tag when sharing code that could lead people to the solution.Loading more items...