What is the function of If-else script? .
Answers
Answered by
2
Answer:
The if/else statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. The if/else statement is a part of JavaScript's "Conditional" Statements, which are used to perform different actions based on different conditions.
Answered by
3
YOUR ANSWER BUDDY❣️✌️✌️☃️
The if/else statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. The if/else statement is a part of JavaScript's "Conditional" Statements, which are used to perform different actions based on different conditions.
HOPE it helps u√√
Similar questions