On Mon, Jan 10, 2011 at 7:07 PM, Angus Croll <[email protected]> wrote:
> >>It has no decent practical use I can think of. > > The only place I use it is when I want to test something in the urlbar of the browser. If it returns anything at all, it'll navigate to the result. So to prevent that, I `javascript:void(expression)` instead. I don't think I've ever needed it elsewhere though. PS. note that, because it is an operator, the parentheses are optional! You'll often see them though. The same counts for delete and typeof. - peter -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
