You misunderstand. I know perfectly well what a bottom type is, and I wasn't referring to functions that never return.
I was referring to functions in javascript. In javascript no function has a return type; if they return, they just return a thing. That's why there's no need for a bottom type in javascript.
9
u/auxiliary-character Apr 12 '16
Yeah, even if javascript has tail call recursion, they're not using return statements at the end.