---
title: "Moving from Javascript Object to Maps"
url: https://daily.dev/posts/moving-from-javascript-object-to-maps-l597fogir
source_url: https://kristijan-pajtasev.hashnode.dev/moving-from-javascript-object-to-maps
type: article
source: "Hashnode"
published: 2020-11-16T07:14:58.443Z
updated: 2021-10-07T14:17:10.317Z
tags: ["javascript"]
reading_time: 3
upvotes: 17
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Moving from Javascript Object to Maps

**[Hashnode](https://daily.dev/sources/hashnode)** · 3 min read · 17 upvotes · 2 comments

## Summary

The map is a newer feature of JavaScript. It is only available since ES6. Just using an ordinary object might seem more comfortable to use than a map. I am not covering why you should use maps. But it is a cheat sheet on how to use them.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://kristijan-pajtasev.hashnode.dev/moving-from-javascript-object-to-maps>

## Community discussion

Top comments from developers on daily.dev.

**@mushi** · 0 upvotes

> js maps

**@jaloplo** · 0 upvotes

> +1 to your friend's article

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/moving-from-javascript-object-to-maps-l597fogir)
