Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptProxy and ReflectSingle-choice MCQ

What is the output?

const o={x:1}; Reflect.set(o,"x",2); console.log(o.x);