Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Get the Length of an Object with JavaScripts Object.keys Method


    In this lesson, we get the length of an Object by using the Object.keys() method. The Object.keys() method returns an array of the enumerable property names. Then we determine the length of the array, by using the length property.