Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't really see why you'd need that. In those sorts of circumstances I'd either add the new version of the function with a new name, or rename the function and add an oldFunc = undefined line to keep the type checker happy.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: