On Thu, Apr 26, 2012 at 2:27 PM, Belleve Invis <[email protected]> wrote: > Code Example > > def async randPrintNums(n): > def tasks = [] > for(var i in 0..n) > tasks.push async :> > wait sleep (100 * Math.random()) > trace index > where index = i > wait join tasks > > randPrintNums 100
What is the resulting JavaScript? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
