Hacker News new | ask | show | jobs
by JonnieCache 5191 days ago
In ruby you could just write

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