GoConqr has a new look! Let us know what you think.

Flowchart

Booleans data type overview

Kostas Diakogiannis Web Developing Junior Certificate English

Flowchart content

  1. JavaScript Booleans Type

  2. Booleans Data Type

    Booleans are comprised of two possible values. Are either true or false. They help us to make comparisons, and make decisions based on the outcome

    let isRaining = false;

    They are heavily used in if... else conditions, switch cases and with comparison or logical operators.

    ex. 10 > 15 // returns false

    isRaining || 15 > 10 // returns true, because of the or operator.

    isRaining && 15 > 10 // returns false, because both parts that surround the and operator have to be true

    !isRaining // returns true, because the boolean value is initially true, and the not operator converts it to false.

    More on Boolean values documentation!

    More on comparison operators documentation!

    More on Logical operators documentation!

    Conditional statements documentation​​​​​

Information

Description
Junior Certificate Web Developing Flowchart on Booleans data type overview, created by Kostas Diakogiannis on 12/10/2018.
Views
3
History
  • Created by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 12, 2018
  • Copied by Kostas Diakogiannis · Oct 12, 2018
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?