JSFiddle - React, Tailwind, and code Playground

by HarryTorry

JavaScript

"use strict";

// VERSION 1

var xxx = console; 
var xx = 'log';
var x = function() { 
    return 'Hello world'; 
}; 
x.x =x;  

xxx[xx](x.x.x.x.x());


// VERSION TWO

var x = function(xx) {
    if(!xx) return console
    else if (xx<2) return 'log'
    else return 'Hello World'
}

 x()[x(1)](x(2));