Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add negative steps support for range function #575

Merged
merged 1 commit into from
Nov 5, 2015

Conversation

xnimorz
Copy link
Contributor

@xnimorz xnimorz commented Nov 5, 2015

In current version:

range(10, 5, -1) // -> []

With this PR:

range(10, 5, -1) // -> [10, 9, 8 ,7 ,6]

@carljm
Copy link
Contributor

carljm commented Nov 5, 2015

Looks good, thanks! Merging.

carljm added a commit that referenced this pull request Nov 5, 2015
Add negative steps support for range function
@carljm carljm merged commit 50e4963 into mozilla:master Nov 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants