Y
Hacker News
new
|
ask
|
show
|
jobs
by
eropple
1109 days ago
No, that one is true. JS automatic semicolon insertion is dumb.
return <p> A JSX paragraph </p>
is a common mistake from novices; it'll return void/undefined.
In TypeScript, at least, you get yelled at for this.