I want to check if a string is empty, How can I check that in Javascript?
if(!string) returns true if string is either empty or null.
if(!string)