Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardNodeJSV8 garbage collectionSingle-choice MCQ

On a 64-bit V8 build, why does storing the integer 3_000_000_000 in a property cost more heap and tracing work than storing 1_000?

const a = { n: 1000 }; const b = { n: 3_000_000_000 };