How can I check for an empty/undefined/null string in JavaScript?
Asked 07 September, 2021
Viewed 1.1K times
  • 52
Votes

I saw this question, but I didn't see a JavaScript specific example. Is there a simple string.Empty available in JavaScript, or is it just a case of checking for ""?

30 Answer