Talk:JavaScript variables

From MozillaZine Knowledge Base
Jump to navigationJump to search

Um, how is this "no longer applicable"? In fact I think this is useful, because it shows the common mistakes in variable declaration by example. There is no such information on the devmo page you point people to. --asqueella 12:12, 7 May 2006 (UTC)

Redeclaration does not give warnings in Firefox 1.5 and above. I realize the devmo article doesn't say the same thing, I was just thinking that rather than deleting this article because it no longer applies, we'd give people looking for info on JavaScript variables somewhere to go.--Np 16:30, 7 May 2006 (UTC)
Ah. But this page also talked about two other things that are still in effect (assigning to undeclared vars and the peculiar behavior of var). I'm not against moving the relevant information from this page to devmo (the guide probably), but just replacing it with a link to devmo looked suspicious. --asqueella 17:09, 7 May 2006 (UTC)
If you look at the article before I wiped it, both sections talk about redeclarations - that was probably a mistake. The article you linked to is better though, I'll change it--Np 17:21, 7 May 2006 (UTC)