English

What is meant by conditional statements in JavaScript?

Advertisements
Advertisements

Questions

What is meant by conditional statements in JavaScript?

What is meant by conditional statement? Explain.

Answer in Brief
Advertisements

Solution

  1. Statements are executed in the order they are found in a script. Conditional statements execute or skip one or set of statements depending on the value of a specified conditional expression.
  2. Conditional statements are used to direct the flow of control to perform a particular task
  3. Conditional Statements help to alter the normal sequence of execution of a program by two types of controls – Branching and Looping. 
shaalaa.com
Introduction of Conditional Statements in Java
  Is there an error in this question or solution?
Chapter 15: Control Structure in Javascript - Evaluation [Page 329]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 15 Control Structure in Javascript
Evaluation | Q 2. | Page 329
Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.08 Conditional Statements in Java
EXERCISES | Q V. 1. | Page 100
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×