JSFiddle - React, Tailwind, and code Playground JavaScript var a = 1; function show(a){console.log(a);} setTimeout(function(){show(a)},1000); a=3;