JSFiddle - React, Tailwind, and code Playground
JavaScript
var a = {
namef: 'dinu',
b: function() {
console.log(this.namef)
},
c: () => {
console.log(this.namef)
}
}
a.b();
a.c();
var a = {
namef: 'dinu',
b: function() {
console.log(this.namef)
},
c: () => {
console.log(this.namef)
}
}
a.b();
a.c();