FL
let obj1 = {
name: "John",
age: 30,
karine: {
z: 10
},
};
function thisName() {
console.log(
${this.name}
);}
function bound(binder,obj,...a){
let arr = [a]
return binder.apply(obj,arr)
}
bound(thisName,obj1,"ghfds")
Size: a a a
FL
${this.name}
);PV
${this.name}
);FL
FL
FL