I'm sure I don't understand the Javascript-specific nuances of your question, but is a J version much different than this?
do_something"0 a=. 'bee';'see' On Mon, Dec 3, 2012 at 1:09 PM, Alex Giannakopoulos <aeg...@blueyonder.co.uk > wrote: > On 3 December 2012 15:59, Raul Miller <rauldmil...@gmail.com> wrote: > > > That said, when I want to translate J into a language other people > > understand, Javascript is usually my first choice. > > > > Why does that not surprise me? :-) > > > Incidentally, and if you have nothing better to do, how would you code this > Javascript into J? > a = new Object(); > a.b = "bee"; > a.c = "see"; > for (var prop in a) > do_something(a[prop]) ; > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm