KnowledgeHub
Report question
Question:
Why should I use string.length == 0 over string == "" when checking for empty string in ECMAScript?
Reason
Select a reason...
Spam
Rude or offensive
Not an answer
Duplicate
Off-topic
Other
Additional details (optional)
Submit Report