JSFiddle - React, Tailwind, and code Playground
by Alexander
JavaScript
console.clear();
let SingletonClass = new function() {
let instance = this;
return function(){ return instance }
}
console.log( new SingletonClass === new SingletonClass );