Please explain what exactly happens in the following example:
var user = { firstName: 'Alex', toString: function() { return 'User: ' + this.firstName; } }; As far as I understand it, this is correlated with user.toString (), although in addition to the above example, the method is “modified”. Does the function returned by the method change its prototype of behavior or how to correctly understand it. Please correct me and indicate the true path (: D) in the places where I made a mistake.