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 ""? If you just want to check whether there's a truthy value, you can do: if (strValue) { //do something } If you need to check specifically for an empty string over null, I would think checking against "" is your best bet, using the ==..