Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29015
| From | Martin Honnen <mahotrash@yahoo.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Element output in JavaScript consoles |
| Date | 2015-12-14 18:03 +0100 |
| Organization | Liberty Development |
| Message-ID | <n4mspc$sb5$1@news.albasani.net> (permalink) |
| References | <consoles-20151214163101@ram.dialup.fu-berlin.de> |
Stefan Ram wrote: > I was looking for some DOM applications as examples for my > JavaScript course and came up with this use of the Firefox > console (input/output pairs): > > document.firstElementChild > <html> > I see that the Firefox console kinda »pretty prints« the > element. I.e., it does not just say > > [object] > > but > > <html> > > . I like this! But can I rely on it? > Do other browser consoles behave similar? Chrome outputs an expandable DOM tree representation of the element node, Edge does it similar to Chrome.
Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread
Re: Element output in JavaScript consoles Martin Honnen <mahotrash@yahoo.de> - 2015-12-14 18:03 +0100
csiph-web