Conversation

So am I correct that there is no equivalent of bsearch in Javascript for Arrays? E.g. no standard library bsearch? Is there any plausible reason for this absence?
7
6
Replying to and
It took a long time to get standard Map, Set and BigInt types. Sorted map/set types are fairly niche, especially since Map/Set preserve insertion order. It has multiple implementations and a standardization process making it quite difficult to expand the standard library.