JavaScript Control Statements also known as Control Structures or Flow Control statements are statements which decide the execution flow of the program. Typically the program execution begins from the first line in the to the last line of that JS code. However, in between this the flow of the execution can be branched(based on some condtion) or re-iterated(loops) based on some criterias. This the functionality that is provided by Control Statements in JavaScript.
They are mainly categorized in 2 types โ
Conditional Control Statements
Whenever a condition is to be tested depending on which particular tasks are to be performed, Conditional control statements are used.
Looping / Iterative Control Statements
Whenever a particular task has to be iterated for a particular number of times or depending on some condition, Looping control statements are used.
For Program code, info & more resources checkout this article –
JavaScript Control Statements | Conditional & Looping Control Statements
Video by – Tanmay Sakpal
Simple Snippets Channel link – https://www.youtube.com/simplesnippets
Original source
13 responses to “#8 JavaScript Tutorial | Control Statements | Theory”
U made my day Tanmay sir ..u r my real teacher.
Awesome till now! Thanks
Hi Tanmay,
In future videos are you planning to make video on "How to make HTTP calls in Javascript" ?
Good.!! ๐
Cool! Liked before watching!
Good video
Almost perfect video sirji….
thank you very muchh for your effort..keep going
How to download windows10
Long time no see you ๐๐๐
Broo after a long time u making video
Keep doing
Thank you so much sir!
For of statement
Good video