Question: how to check if empty string javascript?
Answer: Answer: Use the === Operator You can use the strict equality operator ( === ) to check whether a string is empty or not.