O'Reilly logo

JavaScript: 20 Lessons to Successful Web Development by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required