---
title: "Discussion on \"Object.entries()\" | Hashnode"
description: "Discussion on \"Object.entries()\". Object.entries() is used for listing all key-value pairs in an object. It accepts an object as a argument, and returns an array enumerating the key-value pairs of an object.\nconst obj = { \n  1: 'Israel', \n  2: 'Temi', \n  3: 'Miro' \n};\nconsole.log(Obj..."
url: "https://hashnode.com/posts/objectentries/5f80833a5a344e16488804d4"
---

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

Discussion

# [Object.entries()](https://temitope.hashnode.dev/objectentries?utm_source=hashnode&utm_medium=feed)

Object.entries() is used for listing all key-value pairs in an object. It accepts an object as a argument, and returns an array enumerating the key-value pairs of an object. const obj = { 1: 'Israel', 2: 'Temi', 3: 'Miro' }; console.log(Obj...

Oct 9, 2020 · 1 min read · temitope.hashnode.dev  
Updated Oct 14, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Temitope Ayodele](https://hashnode.com/@Temitope)

@Temitope · Lagos, Nigeria

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

Frontend developer

I am a Frontend Developer (MERN stack). I am a web-accessibility and open-source advocate. I am a great team-player who has worked with awesome teams to build great products. I am self-taught with rich experience on React and Vue.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
