I have a textbox, which I need to validate against the its value is empty or not.
Should I compare the value with ' ' or " " ?
I have a textbox, which I need to validate against the its value is empty or not.
Should I compare the value with ' ' or " " ?
it won't matter; for example, 'hello' and "hello" represent the same string.
> 'hello' === "hello"
true