Skip to content

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

josgard94/Hashmap-example-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Hashmap-example-Javascript

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.

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

No packages published