Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bakkoting
on Aug 18, 2023
|
parent
|
context
|
favorite
| on:
TypeScript is surprisingly ok for compilers
You can now! The iterator helpers proposal is stage 3 and shipping in Chrome.
(new Set([0, 1, 2])).values().map(x => x + 1).toArray()
You can also reduce, filter, find, etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: