| English term or phrase: Bool / Boolean | Boolean logic is something used in most programming languages, including JavaScript. It's very useful to know at least a little bit about it. In JavaScript, you mostly need it in if() statements.This is only a quick and dirty explanation written for new programmers. In addition, it wholly centers on JavaScript uses of Boolean logic.I first discuss the basic theory, then introduce AND, OR and NOT in JavaScript. Then I present a Boolean generator with which you can make your own Boolean statements and see how they evaluate.
After that I explain when JavaScript makes a variable false and finally how to see if an object exists. When you've understood all this you can work with Boolean logic in JavaScript. |
| Raphaela WissKudoZ activityQuestions: 36 (none open) ( 2 closed without grading) Answers: 2 Spain
| Local time: 20:23
|
|