Skip to content

Commit be68324

Browse files
committed
added missing chapters on sidebar
1 parent f9574f8 commit be68324

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

β€Žen/SUMMARY.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
- [For](loops/for.md)
4646
- [While](loops/while.md)
4747
- [Do...While](loops/dowhile.md)
48+
- [Continue](loops/continue.md)
49+
- [Break](loops/break.md)
4850
- [Functions](functions/README.md)
4951
- [Higher Order Functions](functions/higher-order.md)
5052
- [Recursive Functions](functions/recursive-functions.md)

β€Žen/error-handling/README.mdβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ Managing third-party library errors.
3737

3838
Effective error handling offers several advantages:
3939

40-
-Prevents script termination.
41-
-Allows for controlled handling of errors.
42-
-Provides detailed error information for debugging.
43-
-Enhances code reliability and user experience.
40+
- Prevents script termination.
41+
- Allows for controlled handling of errors.
42+
- Provides detailed error information for debugging.
43+
- Enhances code reliability and user experience.
4444

4545

4646
## Best Practices
4747

4848
To make the most of error handling, consider these best practices:
4949

50-
-Use specific error types whenever possible.
51-
-Log errors for debugging purposes.
52-
-Provide clear and user-friendly error messages.
53-
-Handle errors as close to their source as possible.
50+
- Use specific error types whenever possible.
51+
- Log errors for debugging purposes.
52+
- Provide clear and user-friendly error messages.
53+
- Handle errors as close to their source as possible.
5454

5555
## try...catch Error Handling:
56-
One of the common error handling techniques is the try...catch block, which is described in the following sections.
56+
One of the common error handling techniques is the `try...catch` block, which is described in the following sections.
5757

5858
* [try...catch](./try...-catch.md)
5959
* [try...catch...finally](./try...catch...finally.md)

β€Žen/loops/README.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ for (var i = 0; i < cars.length; i++) {
2828
}
2929
```
3030

31+
In this chapter, we are going to discuss the following topics:
32+
* [for](./for.md)
33+
* [while](./while.md)
34+
* [do...while](./dowhile.md)
35+
* [continue](./continue.md)
36+
* [break](./break.md)

β€Žen/loops/continue.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Continue Statement in JavaScript
2+
title: Continue
33
description: An explanation of the continue statement in JavaScript with an example.
44
---
55

6-
# Continue Statement in JavaScript
6+
# Continue
77

88
The `continue` statement in JavaScript is a control flow statement used to skip the current iteration of a loop and continue with the next iteration. It allows you to bypass specific code within a loop under certain conditions. This document provides an overview of the `continue` statement in JavaScript, its syntax, common use cases, and best practices.
99

0 commit comments

Comments
Β (0)