JSFiddle - React, Tailwind, and code Playground
by Durtto
JavaScript
function SDK(dynamicUrl) {
var data = 'DATA BITCH';
var atual = null;
var counter = 0;
this.onComplete = function (){ }
this.onError = function () { }
this.start = function ( ) {
alert('HUE BR')
}
}
var o = {};
SDK.call(o, null);
//Tendando acessar o metodo
o.start();