How to get the length of an object in JavaScript
Unlike arrays and strings, objects don't have a length property to query.
Unlike arrays and strings, objects don't have a length property to query.
JavaScript objects are extremely common, but also notoriously difficult to iterate through.
Easily convert a JS object to an array using the Object.entries() method.