JavaScript doesn't have a built-in way to check if a value is blank, but it's easy to create one.
30secondsofcode.org