javascipt: what is difference between: if((typeof OA != 'undefined') && OA ) and if(OA)?
The former statement works; the latter quietly stops the execution of current function.
--maybe a rookie question.
Thanks!
javascipt: what is difference between: if((typeof OA != 'undefined') && OA ) and if(OA)?
===

The former statement works; the latter quietly stops the execution of current function.
--maybe a rookie question.
Thanks!