Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptthis-binding spec edge casesSingle-choice MCQ

An arrow function is defined at module top level and then assigned as a method. When called via the method, where does its `this` resolve from at the spec level?

const obj = { tag: 'obj', run: () => this }; console.log(obj.run() === obj);