V School | Better Humans, Better Outcomes

Unit Testing JavaScript

This section is to help you learn quickly what, why and how of Unit testing. What is unit testing? Unit testing is the practice of breaking your program into smaller pieces and inspect each piece with tests. Tests run when changes are made to the code in your projects. The

Error Handling

When running JavaScript errors can occur. These can be made by mistakes in programming, unexpected values in input and other errors. To handle these errors the JavaScript programming language has these tools. The try keyword allows us to test blocks of code try { //your code } The code within the try

V School | Better Humans, Better Outcomes © 2026