JSFiddle - React, Tailwind, and code Playground
by Viet27th
JavaScript
function say_goodbye(){
let a = function() {
console.log(this)
}
this.c = function () {
console.log(this)
};
this.u = () => {
console.log(this)
}
}
let k = new say_goodbye();
k.c();
k.u();