este mecanografiado
//The this keyword refers to the current object.
//The object which this keyword refers is different depending upon the context.
//Example:
class Employee{
name:string;
constructor(name:string) {
this.name = name;//type of a is Employee
alert(this.name);
alert(this.getEmployeeName().name);
}
getEmployeeName=function() {
return this;//this is of any type
}
MitchAloha