#27 If Statement in JavaScript
If Statement in JavaScripts
In this part of our tutorials on JavaScript, you will learn about if statement. Like any
other programming language, if statement is used to check a conditional statement and works
with the boolean data type in itself.