Conditional Statements in JavaScript

A simple JavaScript program consists of a set of statements that generally contain expressions and end with a semicolon. When we execute a JavaScript program, at a time, only one statement executes by JavaScript interpreter. These statements are called sequential…


