The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Issue On JavaScript if-else statement
Hi All !
following is the code segment:
if(document.images) { //some statements }
Why "some statements" are executing eventhough if block is having non-boolean thing?
Thanks in advance.