This is an example of using the Array() object's own sort method to randomize itself. Very simple and clean.
The function randInt(min, max) can be easily adapted for any application where you need to select a random integer within a certain range (i.e. from 1 to 100). The rest of the code is an example of how it can be used.
Put a calculator code on your page that can tell a visitor the area units of a Rectangle, Triangle, Parallelogram, aTrapezium or a Circle.
Vitaliy's Math Javascript Library - is the collection of mathematical routines not included in JavaScript built-in objects (Math, Number) . The tool on this page is used to demonstrate how these functions work. This is still a beta version of the library, since testing is not complete yet.