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.
Great kata for objects practise! Had fun solving.
Straight up looking things up in a dict/map/object/whatever is not novel enough to make a kata these days.
Please just do not republish.
passionNames
is a constant; by convention, it should have been namedPASSION_NAMES
.JS uses three different naming conventions for non-constructors, constructors, and ( global ) constants. Fun! :S ( it's as bad as Spanish .. )
Use appropriate datatypes. The modeling of
passionNames
is disastrous.There are no random test cases.
Great kata my guy!
( \ / )
\ \ / /
\ / /_ _
|___// /|
( ())J-)
( /`., /
/ ; /
| === |