Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptError subclassingSingle-choice MCQ

What is logged here?

var x=3;\nconst o={x:1,f:()=>this.x};\nconsole.log(o.f());