by peppery-idiot · 2y ago · 0 comments
const someBlock = function () { console.log(this.a + 2 + this.c); }
const myFunc = someBlock.bind({a: 1, c: 3})
myFunc(); // => 6
No comments yet.