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

Actually, the other form works fine for declarations too:

  var main = func() { /* etc */ }
It's a minor point, though. The article is clear about how the syntax deviates from complete regularity. Your comment seems redundant.


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

Search: