importance: 5
---
Second bind
Can we change this by additional binding?
What will be the output?
function f() {
alert(this.name);
}
f = f.bind( {name: "John"} ).bind( {name: "Ann" } );
f();
Accueil / javascript / 1-js / 06-advanced-functions / 10-bind / 3-second-bind / task.md
importance: 5
---
Can we change this by additional binding?
What will be the output?
function f() {
alert(this.name);
}
f = f.bind( {name: "John"} ).bind( {name: "Ann" } );
f();