Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a35db05

Browse files
Added article and video for : How can you handle errors in JavaScript?
1 parent 4d6a054 commit a35db05

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

‎README.md‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,24 @@
326326

327327
---
328328

329-
8. How can you handle errors in JavaScript?
329+
### 8. How can you handle errors in JavaScript?
330+
<details>
331+
<summary><b>Answer</b></summary>
332+
333+
334+
#### Articles
335+
- 📜 [JavaScript Errors](https://www.w3schools.com/js/js_errors.asp)
336+
- 📜 [Error handling, "try...catch"](https://javascript.info/try-catch)
337+
338+
339+
#### Videos
340+
- 🎬 [try, catch, finally, throw - error handling in JavaScript](https://youtu.be/cFTFtuEQ-10?si=lwPJas1oGoG55V5x)
341+
- 🎬 [The EASY Way to Handle Errors in JavaScript (For Beginners)](https://youtu.be/7nG2shBeWUo?si=bUVxJyzKl1lz0Zv5)
342+
343+
</details>
344+
345+
---
346+
330347
9. What is the difference between "let," "const," and "var" when declaring variables.
331348
10. Explain the differences between "setTimeout" and "setInterval."
332349
11. How does the module system work in JavaScript (e.g., CommonJS, ES6 modules)?

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /