JSFiddle - React, Tailwind, and code Playground by Kai Wang August 08, 2018 JavaScript let a ; if(a==null){ alert("A") }else{ alert("B") }