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.
27
u/MC_Labs15 Apr 12 '16
This particular code will throw an error