Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptObject.create nullSingle-choice MCQ

An object created with Object.create(null) holds a data property. What happens when you evaluate it in a template literal, and why?

const o = Object.create(null); o.a = 1; const s = `${o}`;