JSFiddle - React, Tailwind, and code Playground

JavaScript

function test() {
  this.a = 5;
};

test.prototype.debug = function() {
console.log(this)
}

var t = new test();
t.debug()