JSFiddle - React, Tailwind, and code Playground

JavaScript

variable1 = 'A';
variable1 = 'C';
var variable1 = 'B';
console.log(window.variable1);