array-range icon indicating copy to clipboard operation
array-range copied to clipboard

creates a new array with given range

Results 4 array-range issues
Sort by recently updated
recently updated
newest added

- 1. @start: will always have default value of 0 - 2. @end: will require validation on program start - 3. changes made to accomodate ES6 - 4. returns empty...

This code does not seem to be used else if (!n0 && !n1) { start = 0 end = 0 }

Sometimes we deal with `Uint32Array` or alike. Would that be nice to support both `dtype` argument and existing array as argument: ```js let arr = range(10, 'uint32') range(11, 15, arr.subarray(0,...