JSFiddle - React, Tailwind, and code Playground
by shriek
JavaScript
function Y(){
console.log(arguments.callee.caller.name + self.msg);
}
function X(){
self.msg = "Hello World";
var y = new Y();
}
X.prototype.init = function(){
var self = this;
console.log("see "+self.msg);
var y = new Y();
};
var yum = new X();