This in JavaScript?

Good evening,can't deal with this or rather a lot of the theory like to learn.javascrpt but I can not understand as it to notice in practice,there is a video on this ?
March 12th 20 at 08:02
2 answers
March 12th 20 at 08:04
function Man (name) {
 this.name = name;
}

Man.prototype.yellName = function () {
alert(this.name);
};

petia var = new Man("Petia"); 
petia.yellName(); // Petia


Like this)

In General, write as you like, no need to immediately try to comprehend and understand. To need this you'll go when you really need to work with inheritance.

When a routine call several functions, and this is not needed.
March 12th 20 at 08:06
Full of videos, choose

Find more questions by tags JavaScript