Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScripthidden classes and inline cachesSingle-choice MCQ

You add 40 distinct integer-keyed properties one at a time to an object, then delete one in the middle with `delete`. What is the most accurate description of what V8 does to that object's storage?

const o = {}; for (let i = 0; i < 40; i++) o['k' + i] = i; delete o.k20;