filmov
tv
JavaScript for beginners - Chapter 14 - Data types Part 6 - BOOLEAN

Показать описание
Boolean is a primitive data type in JavaScript.
Boolean can have only two values, true or false.
It is useful in controlling program flow using conditional statements like if..else, switch, while, do..while.
The following example demonstrates how a Boolean value controls the program flow using if condition:
ankpro
ankpro training
C#
C sharp
Bangalore
Rajajinagar
Selenium
Coded UI
Mobile automation testing
Mobile testing
JQuery
JavaScript
Boolean can have only two values, true or false.
It is useful in controlling program flow using conditional statements like if..else, switch, while, do..while.
The following example demonstrates how a Boolean value controls the program flow using if condition:
ankpro
ankpro training
C#
C sharp
Bangalore
Rajajinagar
Selenium
Coded UI
Mobile automation testing
Mobile testing
JQuery
JavaScript