Otro ejemplo de bind ()

 
	 class Person
	 {
	constructor(name)
		 {
			 this.name = name;
		 
		 function getName()
				 {console.log(this.name);
				 }

			let consoleName =	 getName.bind(this);
				 consoleName();
		 }	
	 }
	 
Javasper