Creating a key-value pair in #javascript can be done with #objects or with #maps. But it's important to understand every solution's pros and cons before deciding and developing the solution.
Let's look at these two possible solutions and try to understand which is the best solution based on the scenario.
You can find the source code here (https://github.com/Puppo/javascript-p...)
_______________________________
Hit like and subscribe for more content! :D
You can also follow me on the other platforms:
Twitter: / puppo92
dev.to: https://dev.to/puppo
GitHub: http://github.com/puppo
_______________________________
Thanks to:
Music by Pixabay (https://pixabay.com/it/users/music_un...) from Pixabay (https://pixabay.com//?utm_source=link...)
Canva (https://www.canva.com/)