Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oh_sigh
on Nov 17, 2017
|
parent
|
context
|
favorite
| on:
The Coin Flip: A Fundamentally Unfair Proposition?...
Oh JavaScript. Will a Boolean always on all browsers coerce itself into a 0 or 1 if treated like a number?
tjgq
on Nov 17, 2017
[–]
The Javascript coercion rules, arcane as they are, are actually part of the spec and (barring any bugs) should work across browsers.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: