Skip to content

Commit b9d015c

Browse files
author
Kay Hudson
committed
update instructions
1 parent a9eee0e commit b9d015c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ Implement `Array.prototype.filterer()` which functions the same as `Array.protot
3030
* filters the array with the callback
3131
* returns the expected result of the callback
3232

33-
Implement a `range(start, stop, step)` function which creates a new array. It has 1 mandatory argument: the length of the resulting array. It can take up to 3 arguments though: starting and stopping point OR starting and stopping point and steps (increments).
34-
35-
```
36-
// Example usage:
37-
range(10) //-> [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
38-
range(1, 10) //-> [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
39-
range(1, 10, 2) //-> [ 1, 3, 5, 7, 9 ]
40-
```
41-
42-
* the step argument works with all integers (positive and negative)
43-
* the stop and start arguments must be positive integers only
44-
4533
Resources:
4634
* [Algorithm Deck](https://drive.google.com/open?id=1raZx8K8cWmQkwmjxJ3qZ-GG6zEAawtsmtGgxnd-DXfU)
4735
* Public Link: https://github.com/code-workshops/algorithmsjs

0 commit comments

Comments
 (0)