---
title: "Discussion on \"How to create a JavaScript Dictionary?\" | Hashnode"
description: "Discussion on \"How to create a JavaScript Dictionary?\". In this short tutorial, we look at all the methods you could use to create a JavaScript Dictionary. We also look at a few limitations and caveats.\nIf you are new to programming or JavaScript, we recommend you read through the entire article. However,..."
url: "https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e"
---

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

Discussion

# [How to create a JavaScript Dictionary?](https://shorttechtutorials.hashnode.dev/how-to-create-a-javascript-dictionary?utm_source=hashnode&utm_medium=feed)

In this short tutorial, we look at all the methods you could use to create a JavaScript Dictionary. We also look at a few limitations and caveats. If you are new to programming or JavaScript, we recommend you read through the entire article. However,...

Sep 22, 2021 · 3 min read · shorttechtutorials.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Short Tech Tutorials](https://hashnode.com/@shorttutorials)

@shorttutorials

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

An initiative at Flexiple, to write short curated tutorials around often used or interesting concepts.

## Responses 2

Markdown supported · ⌘↵ to post

[Ndianabasi Udonkang](https://hashnode.com/@ndianabasi)

[Sep 22, 2021](https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e/comment/614b5af0544e242e0c93d567)

I guess you are coming from a Python background. JavaScript doesn't have a Dictionary type and won't need to have dictionaries because that's what Objects were designed for and more. We don't have to impose a feature from another language on a different language. Rather, you try to study that language and maximise its capabilities

The Object type is so power in JavaScript with tons of methods available to manipulate it. You can easily transform it objects into arrays then into strings.

The object type can also be used for OOP as it can inherit properties from parent objects, define its properties, methods, etc.

[MCCurcio](https://hashnode.com/@MattCC)

[Sep 22, 2021](https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e/comment/614b29ec544e242e0c93d047)

Great Thanks
