Question from the Javascript - Fundamentals test

What does the function returned by myObject.myMethod() print?

Medium
const myObject = {
  myMethod() {
    const helperFunction = () => {
      console.log(this);
    }
    
    return function() {
      helperFunction();
    }
  }
};

const myMethod = myObject.myMethod();
myMethod();
Author: Tommy RozenbergStatus: PublishedQuestion not yet passed
Edit
0
Community Evaluations
developer avatar
Dragon parfait
27/09/2024
I added french version. Thanks for your contribution Tommy