I saw this thread, 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 ""
?
转载于:https://stackoverflow.com/questions/154059/how-do-you-check-for-an-empty-string-in-javascript