How to Check for Empty, Undefined, or Null Strings in JavaScript | CodeTrail