Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32893

hasOwnProperty and property className

Path csiph.com!.POSTED.204-73-239-109.cust.centrio.cz!not-for-mail
From Cezary Tomczyk <cezary.tomczyk@gmail.com>
Newsgroups comp.lang.javascript
Subject hasOwnProperty and property className
Date Sat, 1 Apr 2017 11:20:56 +0200
Organization csiph.com Internet News Service
Message-ID <obnrdm$158t$1@csiph.com> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 1 Apr 2017 09:20:54 +0000 (UTC)
Injection-Info csiph.com; posting-host="204-73-239-109.cust.centrio.cz:109.239.73.204"; logging-data="38173"; mail-complaints-to="admin@kev009.com"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
X-Mozilla-News-Host news://nntpswitch.blueworldhosting.com:119
Xref csiph.com comp.lang.javascript:32893

Show key headers only | View raw


Just out of curiosity.

Why document.body.hasOwnProperty('className') returns false?

Property className does exists for object document.body object.

-- 
Cezary Tomczyk
http://www.ctomczyk.pl/
https://www.aslint.org/ - Accessibility linting tool

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

hasOwnProperty and property className Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-04-01 11:20 +0200
  Re: hasOwnProperty and property className "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-04-01 12:17 +0200
    Re: hasOwnProperty and property className Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-04-01 15:59 +0200
      Re: hasOwnProperty and property className "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-04-01 16:40 +0200
      Re: hasOwnProperty and property className Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-02 00:39 +0200
  Re: hasOwnProperty and property className Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-01 13:53 +0200

csiph-web