Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spicy_meatball
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
spicy_meatball
10y ago
This is a tradeoff made with dynamically-typed languages. Open up your dev console and try some JS for other examples: `[] + []` or `[] + {}` or `{} + []` or `{} + {}`. There are several ways to solve it all with tradeoffs. Types can solve