The object to iterate over.
An iterable of tuples where each tuple is a key-value pair from the object.
This function is a part of Object Utilities.
V - The type of values in the object.
const obj = { a: 1, b: 2, c: 3 };
for (const [key, value] of objEntries(obj)) {
//=> a //=> b //=> c 3
}
Generated using TypeDoc
Returns an iterable of key-value pairs from the given object.