Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
seniorsassycat
on June 19, 2023
|
parent
|
context
|
favorite
| on:
TypeScript 5.2's new keyword: 'Using'
4 I mean `using x = a(b(), c())` if all functions return a disposable value will all three be disposed, or only the value returned by a and assigned to x?
bakkoting
on June 19, 2023
[–]
Only the value assigned to x.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: