how to return the number of properties of an object in javascript code example
Example: number of properties in object javascript
//To count objects own enumarable properties
const objectName={example:10}
console.log(Object.keys(objectName).length)