var object = { _text: 'Hello World', getInvite: function() {return this._text}};
var func= object.getInvite;
console.log(func());
Is it because here the function is being invoked not within the context of the object? Which makes 'this' undefined?