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

I wouldn't have blinked if it was:

  ^ 2
since that is what is used in Smalltalk, but the left arrow makes me think I am missing what it should point to.


In ruby you could just write

  2
assuming you're at the end of a function. Coffeescript is the same iirc.




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

Search: