Un autre exemple de liaison ()
class Person
{
constructor(name)
{
this.name = name;
function getName()
{console.log(this.name);
}
let consoleName = getName.bind(this);
consoleName();
}
}
Javasper