JSFiddle - React, Tailwind, and code Playground

by Ian Roberts

JavaScript

Module = function (){
  this.functionOne = function() {
        this.time = "Time";
        var t = this.time;
        this.functionTwo(t);
    }

  this.functionTwo = function(text) {
       alert('fsdfsdf');
       alert(text);
    }
}

var moduleName =  new Module();
moduleName.functionOne();
//moduleName.functionTwo();