Subj : Re: Compacting JS source via ParseTree or Decompile To : Dan Libby From : Brendan Eich Date : Tue Jun 08 2004 10:28 pm Dan Libby wrote: > Okay, I think I've got the loop for the getting the function arguments > worked out using OBJ_SCOPE, etc. But I can't call it. I'm still > clueless how to actually get the function objects in the first place. I > feel I'm missing something obvious. Are you executing the script, or its prolog, against a global object first? Then enumerating looking for function-valued properties will get the top-level declared functions. /be .