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

Editorial: Quick fixes for CreateListFromArrayLike #3419

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

jmdyck
Copy link
Collaborator

@jmdyck jmdyck commented Sep 6, 2024

  • Capital 'B' on "Boolean"

  • When an operation has an optional parameter X, the op doesn't do anything with X until either:

    • it has established that a value was passed to X, or
    • it has established that a value wasn't passed to X, and has set X to some value.

spec.html Show resolved Hide resolved
@syg
Copy link
Contributor

syg commented Sep 6, 2024

@ljharb Could you please change this back to a 2-state enum? Michael talked about changing it to a boolean but I didn't think that was actually being changed. I still prefer the enum to a bool.

- When an operation has an optional parameter X,
  the op doesn't do anything with X until either:
  - it has established that a value was passed to X, or
  - it has established that a value wasn't passed to X,
    and has set X to some value.
Copy link
Contributor

@syg syg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@michaelficarra michaelficarra added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Sep 6, 2024
@jmdyck
Copy link
Collaborator Author

jmdyck commented Sep 6, 2024

Passes my checks.

@ljharb ljharb merged commit 92aa8e0 into tc39:main Sep 6, 2024
8 checks passed
@jmdyck jmdyck deleted the quick_fixes_7 branch September 7, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial change ready to merge Editors believe this PR needs no further reviews, and is ready to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants