how to get the key and value of an object in javascript code example
Example: object.keys javascript
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.keys(object1));
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.keys(object1));