although 3.times is probably harder since all ruby methods take an implicit block as last parameter. The prettiest code you could do in node would be 3.times(function(){/code/})
It would be nice if js could rid of the keyword 'function' -- maybe make it a bit shorter like in coffeescript.