JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumJavaScript
What does this log?
code
const cache = {};
const objA = {};
const objB = {};
cache[objA] = 'A';
cache[objB] = 'B';
console.log(Object.keys(cache).length);