2808 explained code solutions for 75 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)