[thelist] javascript variable issue (continued)
Michael Pemberton
mpember at phreaker.net
Fri Aug 31 10:40:56 CDT 2001
> /*
> A comment on eval():
>
> Using eval as above takes actual objects and treats their name(s)
> as a string - in order to be evaluated as objects. What's the point?
>
> YMMV! :-)
> */
I have written custom .toString() methods for some of my own objects
that means that I can customise what is actually replaced when I try
using the object as a string. Useful for writing common timeout calls
when the actual object is not always known by its real name.
--
Michael Pemberton
mpember at phreaker.net
ICQ: 12107010
More information about the thelist
mailing list