| Viewed 82 times

How I should check Is the String Empty in JavaScript?


I need a function that returns true if a string is empty and false otherwise. Examples isEmpty("") // true isEmpty("c") // false