JSFiddle - React, Tailwind, and code Playground

by chrisramakers

JavaScript

var a = { 
    nr: 50, 
    test:function(){ document.write(this.nr+'<hr>'); } 
}
var b = { 
    nr: 100
}
var c = { 
    nr: 200
}
// ... etc
    
a.test();
//a.test.call(b);
//a.test.call(c);