Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
styfle
on Sept 17, 2018
|
parent
|
context
|
favorite
| on:
JavaScript Equality Minesweeper
This is especially useful if you are using TypeScript (or Flow I assume) because the type checker can give you an error at compile time. After performing the runtime check, TypeScript will know that null/undefined is not possible.
See this example
https://goo.gl/AyoC3T
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
See this example https://goo.gl/AyoC3T