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

When a method is extracted and called standalone in strict mode, the `this` binding follows precise spec steps in [[Call]] / OrdinaryCallBindThis. What is `this` inside `g()` here?

'use strict'; const obj = { v: 10, get() { return this.v; } }; const g = obj.get; console.log(g());