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.
I had the same issue
there is actually no need to save into variables the functions in our answers to these exercises, as we're not asked to then use them as parameters in higher order functions, so we can use a function expression, rather than a function declaration (plus, especially with the concise arrow syntax, we can use functions diretly as argumemts in other functions, or define and call them at the same time as an IIFE, eg. ((n)=> {console.log(n=5);}10); that logs 15)
good shot
chatgpt (not to be offensive)
hello c++ )
I think a best practice is to always use a Named function instead of an Arrow function for easy error location and handling.
Approved
The
\n
is required as every input of a list is at their respective lines. Also, your code only displays the partially correct output, but does not return the result back to the caller.python new test framework is required. updated in this fork
done
do you still the parameter if you dont need to use when using a arrow function ?
.
python new test framework
Approved
python new test framework
Loading more items...