What is the output of `Object.keys({a:1, b:2, c:3}).length`?
JavaScript DeveloperEasy
JavaScript Developer — Easy
What is the output of `Object.keys({a:1, b:2, c:3}).length`?
Explanation
The output of `Object.keys({a:1, b:2, c:3}).length` is 3 because it returns an array of the object's keys, which are "a", "b", and "c", and then calculates the length of that array.