Today we’re going to learning about Boolean.

Boolean is a pretty easy stuff. Boolean is just about two state. True & False.

See an example –

Boolean is 1 and 0 actually!

Boolean is really useful in a code. Example –

In the 3 > 4 we get the false. So this is how we can assume some logic is right or not.

Boolean data format is almost available in every programming language.

Do you want to use the ‘true’ and ‘false’ which is boolean or want to use 1 and 0 which also gave the same thing.

Let me know if you have any questions….

See the codes – https://github.com/nerdjfpb/javaScript-Series

Find me on social media – twitter, linkedin.



Leave a Reply

Your email address will not be published. Required fields are marked *