Using a hashmap instead of nested conditionals allows to have a clean and more readable code, in this repository I share an example of how to use a hashmap to call different methods according to the case that occurs.
-
Notifications
You must be signed in to change notification settings - Fork 0
Using a hashmap instead of nested conditionals allows to have a clean and more readable code, in this repository I share an example of how to use a hashmap to call different methods according to the case that occurs.
josgard94/Hashmap-example-Javascript
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Using a hashmap instead of nested conditionals allows to have a clean and more readable code, in this repository I share an example of how to use a hashmap to call different methods according to the case that occurs.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published