Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jrockway
on Jan 27, 2012
|
parent
|
context
|
favorite
| on:
Wat
I have but I don't. Javascript was designed to reduce programmer-visible errors at the cost of making it nearly impossible to write a correct program. At that goal, it succeeds, and [] + {} being NaN makes perfect sense under those constraints.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: