JavaScript Advanced JS Home  <<  JS Advanced

In these advanced lessons we start by taking at look at some more conditional statements and then see how to utilize JavaScripts error handling. We then take a final look at maths by exploring the Number and Math global objects. After this we finish our three part lessons on object creation before looking at the domain object model and how to bring our pages to life with events. We then tackle the tricky subjects of function recursion and closures before finishing our study of Javascript by looking at the globals and functions not covered in previous lessons.

Lesson  1: Advanced Conditional Statements

This lesson is about using the switch....case....default construct to give us a more elegant approach to multiple condition testing of an expression than repeated else...if statements.

We also examine the Conditional special operator and how we use it.

Lesson  2: Errors

Sometimes things go wrong in our code and an error is raised which we can deal with. Javascript has several predefined objects to deal with errors and the try....catch....finally and throw statements which give us some control over them. In this lesson we look at errors and how to handle them.

Lesson  3: Number

The Number global object allows us to wrap an object for mathematical use and comes with several useful properties and instance methods. In this lesson we look into Number creation and use some of the properties and methods available with this global object.

Lesson  4: Math

The Math global object is a static object which means we cannot instantiate objects of type Math. All the properties and methods of this class are also static and so we access these using syntax such as Math.aPropertyName or Math.aMethodName. In this lesson we explore some of the properties and methods of the Math object with examples of their usage.

Lesson  5: Elegant Object Creation

This lesson is about elegant object creation using prototyping. This method of object creation uses a function to create our objects and is reuseable.

Lesson  6: The Document Object Model

In this lesson we look at the DOM and how to access and manipulate elements using the DOM and JavaScript.

Lesson  7: Events

In this lesson we look at events and how we can bring our pages to life using JavaScript to react to them.

Lesson  8: Function Recursion & Closures

In this lesson we tackle the tricky subjects of function recursion and closures.

Lesson  9: Any Other Business

This lesson wraps up our journey into the world of JavaScript by looking at the globals and statements not covered in previous lessons.


Related Tutorials

JavaScript Basics - The Basic Lessons.
JavaScript Advanced - The Advanced Lessons.