JSFiddle - React, Tailwind, and code Playground
by Sahin Deniz
JavaScript 1.7
class a {
constructor(__b) {
this.a = 1;
//this.bind(__b);
}
}
class b {
constructor() {
this.b = 2;
}
}
let _b = new b();
console.log(_b);
//let _a = a.bind(_b);
console.log(new a.bind(_b)());