JSFiddle - React, Tailwind, and code Playground

JavaScript

var v = {}; //put everything here
var f = function(a, b){};
var a = [1,2,3];
var x = 'x';

v.f = f; //make's easy to debug
v.a = a;
v.x = x;  //so on...
x= 'y';

console.log(v); //it's all there
console.log(window); //it's all there