Module

JavaScript Intermediate

3 tutorials
intermediate

JavaScript is a versatile programming language. In fact, JavaScript is paired with HTML and CSS to make a web application responsive. Most programmers use JavaScript to make Applications using frameworks such as ReactJS and NextJS to make modern Web Applications, React Native to make Native mobile applications, Electron to make Desktop applications and ExpressJS to make server-based applications.

Similar to other syntax programming language, JavaScript have functions, arrays, classes, selection statements and more. You may have recalled in the previous module, you learnt how to create functions, hoisting, and using APIs with JavaScript.

In this module, we are going to expand our knowledge base as we learn more about using Classes, Switch Statements, and Try Catch block. You may think of Classes as a Superset of a function whereby a Class can contain private variables and functions. The functions within a class are called methods. For Switch Statements, they are like selection statements but with different use cases. Lastly, for Try-Catch-Finally statements, they are used for error catching and handling. By doing proper error handling, we can ensure that our end-users will get the best experience out of our product. These are the essential syntax that will lead us on the road to a JavaScript Wizard!

Helpful prior knowledge

JavaScript Basics module


Learning Outcomes

By the end of this module, players will be able to:

  1. Use Classes and Constructor in your code
  2. Build a Web Application with Switch Statement to find a basic statistic given a list of numbers
  3. Apply JavaScript array functions
  4. Calculate the Fibonacci sequence
  5. Apply the Try-Catch-Finally Statements for error handling
Oops, you are not logged in!

Please log in to view this page, and provide additional information required (if any) to unlock the full experience on Learn.