Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardNodeJSV8 hidden classesSingle-choice MCQ

An object is given an integer-indexed property like `obj[0] = 'v'` alongside named string properties. In V8's object representation, why does the integer-keyed entry NOT participate in the same hidden-class transition chain as the string-named properties?

const obj = {}; obj.name = 'x'; // named property -> map transition obj[0] = 'v'; // integer-indexed -> elements store