Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] "var" keyword
- From: javascript@xxxxxxxxxx (Rodney Myers)
- Subject: [Javascript] "var" keyword
- Date: Tue, 23 Apr 2002 11:21:32 +0100
I agree. I never use delete. Much more important is the discipline of scoping variables globally and locally as PPK suggests. Local variables are in effect "deleted" when control leaves a function. Also, when a page is replaced in a window or frame the variables that belonged to it also disappear. Rodney Peter-Paul Koch wrote: > As to delete, I never use it and I seem to remember Flanagan said it's not > very important in JavaScript. > > ppk
- References:
- [Javascript] "var" keyword
- From: Peter-Paul Koch
- [Javascript] "var" keyword
- Prev by Date: [Javascript] "var" keyword
- Next by Date: [Javascript] help with javascript in a form
- Previous by thread: [Javascript] "var" keyword
- Next by thread: [Javascript] "var" keyword
- Index(es):