Comments: Warnings from JS

Not sure I understand.
When do you need to throw a strict warning?

Posted by Henrik Gemal at May 12, 2004 8:30 AM

I can think of a few reasons. #1 is when a feature is deprecated but still used. #2 is when there is a "bad" situation I need to notify the user/developer of, but I don't want an error to stop the script. (This can happen VERY often.) I can send it as a console message (the blue X icon) if I choose, with a simple alteration to the script, but...

Posted by Alex Vincent at May 15, 2004 1:50 PM