---
title: "Discussion on \"Using objects as key/value storage\" | Hashnode"
description: "Discussion on \"Using objects as key/value storage\". A blog about using objects as key-value storage (dictionary) instead of using if-else or switch case to look up values."
url: "https://hashnode.com/posts/using-objects-as-keyvalue-storage/631f1eb76c86d75accc7d7ca"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using objects as key/value storage](https://developerabdullah.hashnode.dev/using-objects-as-keyvalue-storage?utm_source=hashnode&utm_medium=feed)

A blog about using objects as key-value storage (dictionary) instead of using if-else or switch case to look up values.

Sep 12, 2022 · 1 min read · developerabdullah.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#objects](https://hashnode.com/tag/objects)
-   [#if-else](https://hashnode.com/tag/if-else)
-   [#switch-case](https://hashnode.com/tag/switch-case)

## Written by

[Abdullah Ansari](https://hashnode.com/@ansariabdul)

@ansariabdul

  
[View profile](https://hashnode.com/@ansariabdul)

Front end web developer - ReactJS

I have been working as a frontend web developer for the past 3 years.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
