Checking for an Existing, Nonempty String

Look at the browser's console to see the result.