1. 程式人生 > >C# String.IsNullOrEmpty Javascript equivalent

C# String.IsNullOrEmpty Javascript equivalent

AC HR alert str java log OS rem target

https://stackoverflow.com/questions/5746947/c-sharp-string-isnullorempty-javascript-equivalent

if(!theString) {
 alert("the string is null or empty");
}

C# String.IsNullOrEmpty Javascript equivalent