Images

Common JavaScript Functions

This appendix lists the most common functions and properties in JavaScript. The list is not fully comprehensive, however, as there are still a number of complex functions and properties that are beyond the scope of this book, due to requiring advanced programming techniques.

If you are interested in seeing what they are, though, you can download the addedbytes.com JavaScript cheat sheet at the following URL to act as a good starting point: tinyurl.com/jsfuncs.

Arithmetic Functions

   •   Math.abs(a) Returns a as a positive number (or 0).

   •   Math.acos(a) Returns the arc cosine of a.

   •   Math.asin(a) Returns the ...

Get JavaScript: 20 Lessons to Successful Web Development 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.