Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29015
| Path | csiph.com!au2pb.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Martin Honnen <mahotrash@yahoo.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Element output in JavaScript consoles |
| Date | Mon, 14 Dec 2015 18:03:40 +0100 |
| Organization | Liberty Development |
| Lines | 24 |
| Message-ID | <n4mspc$sb5$1@news.albasani.net> (permalink) |
| References | <consoles-20151214163101@ram.dialup.fu-berlin.de> |
| Reply-To | Martin.Honnen@gmx.de |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.albasani.net MfLuX7LP8Iz7bdtJwsDjZ0pVjZyclL8h1vKu+LO5axGiAhsq4fnTFshX9soblXcVBvGvyKRNOXEaLCnGlaYeEsQjSst7s2zCm0LzCaigM4WxdjwGZzt0J2Lp9jA4vWwk |
| NNTP-Posting-Date | Mon, 14 Dec 2015 17:03:40 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="WjYOxkbnrGYxt31XXPAp54zJR4IX9xAJ4Ix1pdYNBPST9h/wZkJyeKaj2Q+2TvLJvCTmjVNCZ54l5jdgXPRZlmmHgFHbDeg96i6pFpGEbnwZ0rG6UvZfWSfPpX/P/qRQ"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 |
| In-Reply-To | <consoles-20151214163101@ram.dialup.fu-berlin.de> |
| Cancel-Lock | sha1:NPhss4BBnvvtfSHYAl2PKtGmdZA= |
| Xref | csiph.com comp.lang.javascript:29015 |
Show key headers only | View raw
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