|
|
|
|
|
by ek
4578 days ago
|
|
As I answered above to another commenter with a similar question, JavaScript is a dynamically typed language and representing dynamic values in a statically typed language requires a bit of thinking, and unions are a common way of doing this. |
|