Skip to content

. / Rubber Chickin

® A Modest Larger-Than-Life Tech Blog™, inc.

  • News
  • Podcast
  • How To’s
  • Books List
  • About
  • Contact
September 27, 2019October 10, 2019

How to iterate over dictionary/map items in JavaScript

const object1 = {
  a: '1',
  b: 2
};

for (let [key, value] of Object.entries(object1)) {
  console.log(key);
  console.log(value);
};

Categories HowToCategories javascript, Typescript

Post navigation

← How to Implement Binary Search in JavaScript
How to Set proper Rules on Google Firebase DB →

About

A blog about tech, coding, entertainment, and other random ramblings.

Recent Posts

  • Interview Date
  • Nomad AI – on-device ai assistant that works offline
  • Announcing the Best Free Online Guitar Tuner: Tune Your Guitar Quickly & Easily!
  • Think Different: Steve Jobs’ Quest for Perfection
  • Talking with Machines: The Rise of Large Language Models
  • Layers of Connection: Demystifying the OSI Model
  • Cyber Wars: Inside the Battle for Digital Security
  • Behind the Kernel: Exploring the World of Operating Systems
  • AGI Awakens: Will Machines Outsmart Humanity?
  • ANN-atomy: Inside the Mind of Neural Networks
  • Getting Intimate with Stacks: LIFO and Chill
  • Achieving the Big O: Maximizing Performance in Code (and Beyond)




Rubber Chickin, 2021.