Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 118: Enhanced Object Literals
Implement `countKeys(obj)` returning the number of own enumerable keys.
+ 1 hidden test run on Submit.
Object.keys(obj).length counts the object's own enumerable properties.
Run your code to see results.