JSFiddle - React, Tailwind, and code Playground

by pixeline

JavaScript

var M2 = {};
var metalab2 = function(){
	M2.UI = {
        name : 'alex',
        test: function(str){
            alert("hi:"+str);
        },
        print: function(str){
        	fiche.boom(str);
        }
    };
	M2.fiche = {
        init: function(str){
        	UI.test("yo "+str+"!");
        },
        boom: function(str){
 	       alert("boom! "+ str);
        }
	};
	
	fiche.init('bitch');
};

//metalab2();
fiche.init('cunt');