This page tests the example script Function.js compiled from Function.as by JASPA.

This script demonstrates three extended language features relating to the native Function object:
 1. Closures;
 2. The rest args operator "...";
 3. Argument defaults.

JASPA achieves all of these without hacking prototypes, or interfering with the built-in capabilities
of JavaScript; See source code for full details.