Abs in JavaScript

The variables a and b are given. Find the absolute value of the difference a and b. Test the script yourself for various a and b.

enru