JSFiddle - React, Tailwind, and code Playground

by Salmin Skenderovic

JavaScript

const x = {
  'a': true,
  'b': true
}


for (const [key, value] in x) {
  console.log(key, value)
}