Icontem

Array Generator: Initialize arrays using several methods

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-04-17 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 133 All time: 358 This week: 7Up
Version License JavaScript version Categories
array-generator 1.0Freely Distributable5Data types
Description Author

This is an extension of the Array class that can initialize arrays using several methods.

It provides several new functions for the Array that can setup the elements of the arrays with specific values. Currently it can:

- Populate the array with a given number of keys
- Set the array elements with a range of values between two numbers
- Set the array elements with an incremented or decremented range of numbers starting from the element 0 to a given number
- Set the array elements with a given range between two numbers but having a given gap between each element
- Set the array elements with a range of letters of a given length starting with A
- Repeat the value of the element 0 a given number of times
- Set the array elements with values of a given formula callback

Innovation Award
JavaScript Programming Innovation award nominee
April 2015
Number 4
Some applications use large arrays populated with data that is convenient for the applications' purposes.

This package provides several ways to pre-populate arrays in several ways that are useful to some of those applications.

Manuel Lemos
  Performance   Level  
Name: Stephen Chapman <contact>
Classes: 11 packages by
Country: Australia Australia
Age: ???
All time rank: 181 in Australia Australia
Week rank: 19 Down1 in Australia Australia Equal
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file arraygen.js Class Methods for generating arrays
Accessible without login Plain text file arraygen.txt Doc. Documentation for the array methods

 Version Control Unique User Downloads Download Rankings  
 0%
Total:133
This week:0
All time:358
This week:7Up