38c Subj : Re: "deprecated with statement usage" To : netscape.public.mozilla.jseng From : Martin Honnen Date : Tue Oct 14 2003 07:08 pm Adrian Herscu wrote: > Brendan Eich wrote: > >> Adrian Herscu wrote: >>> What is the story behind this warning: >>> "deprecated with statement usage"? >> >> It's a strict warning you asked for (off by default), telling you to >> stop using the deprecated with statement. > > Why it is deprecated? > Is it safe to use it? > Does it have any hidden (or hardly to anticipate) behaviors? > It will be supported by next versions of ECMAScript262? ECMAScript edition 3 doesn't deprecate the with statement. And the proposal for ECMAScript edition 4 also lists a with statement http://www.mozilla.org/js/language/es4/core/statements.html#N-WithStatement -- Martin Honnen http://JavaScript.FAQTs.com/ . 0