get property length of object javascript code example Example: can we find lenght of an object Object.keys(myArray).length