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.
You could replace the brackets
{ }
by parenthesis( )
and removing thereturn
keyword.wonderful explanations, thank you greatly!
just gave you a follow, if i have any dire questions down the line, i will be sure to reach out.
the === is used in JS to compare values and data types, because == does the type conversion before comparing (you can try to compare 2 and "2" with == and then with === and if i am not mistaken both of these will give you different answer
? : is a ternary operator, you can think of it as shorthand for if/else statement
? condition is true : condition is false
i recommend using ternary operator only with simple if/else statements and i do not recommend nesting ternary operator, i believe you can find some videos about use cases of ternary op. on YT
if you have more questions feel free to message me, i am happy to help
im having a hard time understanding the usage of ? and : and ===
any insight?
I actually agree with you. It is consider bad practice to use single character variable naming.
This is not an issue...
There is a bonus of 50 pts because word's length equals 7.
Why people upwote solution as best practice where you have single character variable naming?
thanks . good one
is there is something wrong with the word score deceive??? should be 91