HOUR 8:Using Built-in Functions and Libraries

What You’ll Learn in This Hour:

• Using the Math object’s methods

• Using the Date object to work with dates

• Creating an application using JavaScript math functions

• Using with to work with objects

• How third-party libraries make scripting easier

• Using third-party libraries in your scripts

You’ve nearly reached the end of Part II! In this hour, you’ll learn the basics of objects in JavaScript and the details of using the Math and Date objects. You’ll also look at some third-party libraries, which enable you to achieve amazing JavaScript effects with a few lines of code.

Using the Math Object

The Math object is a built-in JavaScript object that includes math constants ...

Get Sams Teach Yourself JavaScript in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.