JSFiddle - React, Tailwind, and code Playground
JavaScript
const a = function(x) {
this.x = x;
}
const b = function (x,y){
this.y = y;
this.x= a.x;
function getx(){
this.x;
};
function gety(){
this.y;
};
}
const a = function(x) {
this.x = x;
}
const b = function (x,y){
this.y = y;
this.x= a.x;
function getx(){
this.x;
};
function gety(){
this.y;
};
}