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 named PASSION_NAMES.
passionNames
PASSION_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-) ( /`., / / ; / | === |
Loading collection data...
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-)
( /`., /
/ ; /
| === |