Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #17999
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2013-01-07 01:21 -0800 |
| Message-ID | <95a66842-702a-416d-9575-e47c82e6667e@googlegroups.com> (permalink) |
| Subject | Global variable is deletable? |
| From | Thomas Li <cooooooder@gmail.com> |
Hi, I'm fresh in Javascript. From the book "Javascript, the definitive guide", the global variable should be nondeletable, however when I test it in IE, it is deletable, anything wrong? Steps: 1. Open IE 9 2. Press F12 and select Console panel 3. Var temp = 1; delete temp; 4. it returns true and when I enter temp, it says "temp is undefined"
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Global variable is deletable? Thomas Li <cooooooder@gmail.com> - 2013-01-07 01:21 -0800
Re: Global variable is deletable? Stefan Weiss <krewecherl@gmail.com> - 2013-01-07 11:24 +0100
Re: Global variable is deletable? JJ <jaejunks@nah.meh> - 2013-01-07 15:36 +0000
Re: Global variable is deletable? Scott Sauyet <scott.sauyet@gmail.com> - 2013-01-07 07:50 -0800
Re: Global variable is deletable? Thomas Li <cooooooder@gmail.com> - 2013-01-07 22:08 -0800
Re: Global variable is deletable? dann90038@gmail.com - 2013-01-07 13:25 -0800
Re: Global variable is deletable? Thomas Li <cooooooder@gmail.com> - 2013-01-07 21:48 -0800
csiph-web