JSFiddle - React, Tailwind, and code Playground

JavaScript

function SDK(dynamicUrl) {
    if(!(this instanceof SDK)) {
       return new SDK(dynamicUrl);
    }
	var data = 'DATA BITCH';
	var atual = null;
	var counter = 0;
 	this.onComplete = function (){ }
 	this.onError = function () { }
 	this.start = function ( ) {
 		alert('HUE BR')
 	}
}
SDK().start();