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 passed 34 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!