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

Number/BigInt.range for Stage 2 #800

Merged
merged 1 commit into from
Jun 20, 2020
Merged

Number/BigInt.range for Stage 2 #800

merged 1 commit into from
Jun 20, 2020

Conversation

Jack-Works
Copy link
Member

method vs the first-class type (tc39/proposal-iterator.range#22):

I'm preferring the current method semantics to a first-class type (Range class).
The method semantics is much JS style and provides a much clear API.
If @rbuckton is strongly requiring the first-class type please leave a comment.

reusable semantics (tc39/proposal-iterator.range#17):

In the April meeting there are two kinds of ideas iterator + non-reusable / first-class + reusable, I choose the prior one. In the after discussions in tc39/proposal-iterator.range#17, I think non-reusable is a very natural idea for an iterator so I leave it as-is.

If @sffc and @littledan gonna block this due to the non-reusable semantics, please leave a comment.


If there are no blocking reasons, I think it has met the stage 2 entrance criteria.

@ljharb ljharb merged commit e770fec into master Jun 20, 2020
@ljharb ljharb deleted the Jack-Works-patch-1 branch June 20, 2020 06:21
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.

None yet

2 participants