How to check an empty string in Javascript
Question:
How to check an empty string in an if-else statement?
Answer:
1 | if (strValue) { |
Your code will run only if strValue
has value.
Reference
This is the end of post
How to check an empty string in an if-else statement?
1 | if (strValue) { |
Your code will run only if strValue
has value.
This is the end of post