Python
obj = {
'name': 'Victor'
}
for key in obj:
print("key: %s, value: %s" % (key, obj[key]))
Javascript:
let obj = {
name: 'Victor'
}
for (key in obj) {
console.log(`Key: ${key}, value: ${obj[key]}`);
}
For further actions, you may consider blocking this person and/or reporting abuse
Salim Chemes -
Juan Bailon -
Arindam Majumder -
Todd H. Gardner -
Top comments (0)