JSFiddle - React, Tailwind, and code Playground
JavaScript
var chopper = new function() {
this.owner = 'John';
this.getOwner = () => (this.owner);
};
document.body.textContent = chopper.getOwner();
var chopper = new function() {
this.owner = 'John';
this.getOwner = () => (this.owner);
};
document.body.textContent = chopper.getOwner();