Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
astrange
on Oct 2, 2023
|
parent
|
context
|
favorite
| on:
What every software developer must know about Unic...
The length/count property was added after people asked for it, but it wasn't originally in the String revamp, and it provides iterators for all of the above. .count also only claims to be O(n) to discourage using it.
b3morales
on Oct 3, 2023
[–]
That was almost seven years ago now. It has been the String API twice as long as it has
not
been the API.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: