JSFiddle - React, Tailwind, and code Playground

by Shankar

JavaScript

var x = {
 a: "test",
getA: () => {
return this.a;
}
}
console.log(x.a);
var b = x.getA()
console.log(b)