Math global objects. After this we finish our three part lessons on object creation
globals and functions not covered in previous lessons.
We also examine the Conditional special operator and how we use it.
throw statements which give us some control over them.
In this lesson we look at errors and how to handle them.
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
Number creation and use some of the properties and methods available with this global object.
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.aMethodName. In this lesson we explore some of the properties and methods
Math object with examples of their usage.
This lesson is about elegant object creation using prototyping. This method of object creation uses a function to create our objects and is reuseable.
In this lesson we tackle the tricky subjects of function recursion and closures.
In Lesson 1 of the advanced section we look at advanced conditional statements.