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