JSFiddle - React, Tailwind, and code Playground JavaScript alert(jQuery("<a>").attr("href",null)); alert(jQuery("<a>").attr("href",undefined));