JSFiddle - React, Tailwind, and code Playground

by yaero

JavaScript

function ApiClient() {

}

ApiClient.prototype.use = () => {
	return new ApiClient();
}

var a = new ApiClient();
var b = a.use();

console.log('x', a, b.__proto__);