Why does this compile cleanly in TypeScript, but crash when called with no arguements? Go! | DailyDevLists