From bf3af826f2e7d13b09c224d5dd6b84cee1443b67 Mon Sep 17 00:00:00 2001 From: om agarwal <88016895+omagr@users.noreply.github.com> Date: Fri, 7 Oct 2022 17:33:29 +0530 Subject: [PATCH] Add content for JavaScript control flow (#2203) * creat call-apply-bind-methods readme files * update the javascript control flow readme.md * Update content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md * Update content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md Co-authored-by: Kamran Ahmed --- .../content/107-javascript-control-flow/readme.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md b/content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md index ea6b50b8b..513eb18fe 100644 --- a/content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md +++ b/content/roadmaps/106-javascript/content/107-javascript-control-flow/readme.md @@ -1 +1,12 @@ -# Javascript control flow \ No newline at end of file +# Control Flow + +In JavaScript, the `Control flow` is a way of how your computer runs code from top to bottom. It starts from the first line and ends at the last line unless it hits any statement that changes the control flow of the program such as loops, conditionals, etc. + +We can control the flow of the program through any of these control structures: +- Sequential (default mode) +- Conditional Statements +- Exception Handling +- Loops and Iterations + +Free Content +Control Flow - MDN \ No newline at end of file