Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cdcarter
· 13y ago · 0 comments
The question is what about a JS interpreter makes this necessary.
Comments
[–]
ek
13y 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.