---
title: "Comment by Ndianabasi Udonkang on \"How to create a JavaScript Dictionary?\" | Hashnode"
description: "I guess you are coming from a Python background. JavaScript doesn&#39;t have a Dictionary type and won&#39;t need to have dictionaries because that&#39;s what O"
url: "https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e/comment/614b5af0544e242e0c93d567"
---

[Discussion](https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e)

Comment [How to create a JavaScript Dictionary?](https://hashnode.com/posts/how-to-create-a-javascript-dictionary/614b1459c790e72dddca625e)

[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.
