JavaScript check if variable has value

JavaScript check if variable has value

More to explore

Based on this image's title: “JavaScript check if variable has value