Skip to content

Editorial: fix number types in Array.prototype.findIndex / RegExp.prototype[Symbol.search] / {Map,Set}.prototype.size#2238

Merged
ljharb merged 1 commit intomasterfrom
findindex-f
Dec 2, 2020
Merged

Editorial: fix number types in Array.prototype.findIndex / RegExp.prototype[Symbol.search] / {Map,Set}.prototype.size#2238
ljharb merged 1 commit intomasterfrom
findindex-f

Conversation

@bakkot
Copy link
Copy Markdown
Member

@bakkot bakkot commented Nov 30, 2020

Missed these in #2007.

@jmdyck
Copy link
Copy Markdown
Collaborator

jmdyck commented Dec 1, 2020

Found 2 similar cases: In Map.prototype.size and Set.prototype.size,
Return _count_. should be Return 𝔽(_count_).

@bakkot
Copy link
Copy Markdown
Member Author

bakkot commented Dec 1, 2020

Updated, thanks @jmdyck.

@bakkot bakkot changed the title Editorial: fix number types in Array.prototype.findIndex / RegExp.prototype[Symbol.search] Editorial: fix number types in Array.prototype.findIndex / RegExp.prototype[Symbol.search] / {Map,Set}.prototype.size Dec 1, 2020
@ljharb ljharb requested a review from a team December 1, 2020 06:18
@ljharb ljharb self-assigned this Dec 1, 2020
…totype[Symbol.search] / {Map,Set}.prototype.size (#2238)
@ljharb ljharb merged commit ccb2d13 into master Dec 2, 2020
@ljharb ljharb deleted the findindex-f branch December 2, 2020 17:19
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.

6 participants