in reply to Undefined vs empty string
Not sure if that answers your question.
Update: Just saw that Athanasius and BrowserUk posted similar answers.