node.js series: Basic Math functions in JavaScript

The JavaScript Math object allows you to perform mathematical tasks on numbers. Below are some of the basic math functions: