Subj : Re: JavaScript - Strict Mode? To : Brendan Eich From : Phil Schwartau Date : Wed Apr 02 2003 02:28 pm > This worked when I implemented it the other year; I hope it still does. I checked; it does still work. It should be put into its own This produces the expected strict warning in the JS Console: ---------> Warning: useless expression And setting |werror| turns it into a hard error: ---------> Error: useless expression However, if it's all done in one That's the way it has to be, since inside a JS compilation unit, a function statement gets compiled before property assignments. Different