I have a JavaScript object, its shape is like this:
const obj = {
"User": ["u1", "u2"],
"Role": ["r1", "r2"],
"Company": ["c1", "c2", "c3"]
}
How do I iterate over this object, so that I can print out:
User:
u1
u2
Role:
r1
r2
Company:
c1
c2
c3
Thanks.