I just found this forum! I'm glad because I wanted to ask some javascript questions before.
There was a question at work before at why one would use the following:
if (a=='1') ...
or
if ('1'==a) ...
Is there any kind of advantage of using one of the other?
Thanks for any response!
There was a question at work before at why one would use the following:
if (a=='1') ...
or
if ('1'==a) ...
Is there any kind of advantage of using one of the other?
Thanks for any response!
Comment