Working of IF, IF ELSE, ELSE IF in languages e.g. javascript
<p>Last Night, my younger brother asked me that how they work? Are these statements work as functions somewhere in javascript? how it is able to transfer control if condition get false? how it detects whether condition is true or false? how it concatenate conditions with gates e.g. AND, OR, NOT, NAND, NOR? And was asking me all that stuff. He learns JS and in school BASIC language. When he asked me, I can't answer him. Because I never researched on it. I said him i am busy and will tell you tommorow. After thinking alot, i thought to add it as question here. Maybe, this question is repeated but i am asking it as separate question because if I need some assistance by whom will answer it. So, I can.</p>
