how to get length of an obect js code example Example: can we find lenght of an object Object.keys(myArray).length