using if statements in javascript

JavaScript
var age=20;
if (age < 18) {
	console.log("underage");
} else {
	console.log("let em in!");
}if (expression) {
   Statement(s) to be executed if expression is true
} else {
   Statement(s) to be executed if expression is false
}
let A = 1;
let B = 0;
if (A == 1 || B == 1){
  	// some code here
}
Source

Also in JavaScript: