Hacker News new | comments | show | ask | jobs | submit login

Not sure what you mean, you mean it will cause the global scope to be garbage collected, because it will not. It will cause GetBestMove to never be garbage collected though, which is probably ok.

He probably meant to put stuff into the global scope is garbage. As in a 'bad idea', not GC.

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