JSFiddle - React, Tailwind, and code Playground
JavaScript
const x = {
'a': true,
'b': true
}
for (const [key, value] in x) {
console.log(key, value)
}
const x = {
'a': true,
'b': true
}
for (const [key, value] in x) {
console.log(key, value)
}