<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/mZGdy6kSU" -->

---
title: Why Is {} > []? | daily.dev
description: Discussion about "Why Is {} > []?" on daily.dev - join the developer community
canonical: https://daily.dev/posts/why-is--mzgdy6ksu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why Is {} > []? | daily.dev
og:description: Discussion about "Why Is {} > []?" on daily.dev - join the developer community
og:url: https://daily.dev/posts/why-is--mzgdy6ksu
og:image: https://api.daily.dev/og/posts/mZGdy6kSU.png
og:image:alt: Why Is {} > []?
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# Why Is {} > []?

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

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://amyshackles.codes/why-is-empty-object-greater-than-empty-array>

## Community discussion

Top comments from developers on daily.dev.

**@psmv** · 0 upvotes

> Very interesting

**@hunterp** · 0 upvotes

> Different tools for different Jobs....its apples and oranges.

**@ghost** · 0 upvotes

> Well, so much of programming and I never got to think about this...
> It's good that they wrote about this :)

---

[View this post on daily.dev](https://daily.dev/posts/why-is--mzgdy6ksu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Why Is {} \u003e []?","url":"https://daily.dev/posts/why-is--mzgdy6ksu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/why-is--mzgdy6ksu"},"datePublished":"2020-11-25T06:17:36.087Z","dateModified":"2021-10-07T14:17:10.317Z","description":"Discussion about \"Why Is {} \u003e []?\" on daily.dev - join the developer community","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4375918f4d457c901a9de33af72c688b","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4375918f4d457c901a9de33af72c688b","isAccessibleForFree":true,"articleSection":"Hashnode","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Amy Shackles","url":"https://daily.dev/amyshackles","image":"https://media.daily.dev/image/upload/f_auto/v1606295627/avatars/E0GvTI7d_","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":70}},"commentCount":3,"discussionUrl":"https://daily.dev/posts/why-is--mzgdy6ksu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":26},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"Why Is {} \u003e []?"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/why-is--mzgdy6ksu","comment":[{"@type":"Comment","text":"Very interesting","datePublished":"2020-11-25T07:16:31.287Z","url":"https://daily.dev/posts/mZGdy6kSU#c-W3hgW-VEf","author":{"@type":"Person","name":"pablo sanchez","url":"https://daily.dev/psmv","image":"https://lh3.googleusercontent.com/-szRhAnIHrok/AAAAAAAAAAI/AAAAAAAAAAA/AMZuuckVyBl06ON0UW2cmAph1Ztl08VycA/s100/photo.jpg"}},{"@type":"Comment","text":"Different tools for different Jobs…its apples and oranges.","datePublished":"2020-11-25T21:53:46.206Z","url":"https://daily.dev/posts/mZGdy6kSU#c-mRMIs-7yE","author":{"@type":"Person","name":"Hunter Peress","url":"https://daily.dev/hunterp","image":"https://avatars0.githubusercontent.com/u/772917?v=4"}},{"@type":"Comment","text":"Well, so much of programming and I never got to think about this…\nIt’s good that they wrote about this :)","datePublished":"2020-11-25T13:50:43.612Z","url":"https://daily.dev/posts/mZGdy6kSU#c-9qbGcVbDw","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"}}]}
```

