9951 explained code solutions for 126 technologies


javascriptCheck if a string is empty


var is_empty = str === '';ctrl + c
is_empty

will contain true if str is empty

str === ''

will strictly compare str with empty string (be sure to have str defined by this time)