Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Timon3
10 months ago
|
parent
|
context
|
favorite
| on:
Why does JSON have commas?
While these edge cases are fairly rare in everyday JS codebases, Typescript adds some, e.g. inline type casts for function calls:
const foo = someFn() (foo as Bar).doSomething()
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: