How to check if a string is empty in Javascript? 2018-03-09 Contents QuestionAnswerReference QuestionHow to check if a string is empty? AnswerBy using if statement to check.123if (strValue) { //do something} it will only run if strValue is not empty. Reference How do you check for an empty string in JavaScript? This is the end of post