Data-Cube adds array-oriented programming to JavaScript. See the project website for examples, usage instructions and the docs.