Path: csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: Trying to understand OOP (newbie to OOP) Supersedes: <4740149.Sb9uPGUboI@PointedEars.de> Date: Wed, 14 Dec 2016 22:17:45 +0100 Organization: PointedEars Software (PES) Lines: 36 Message-ID: <1930673.NgBsaNRSFp@PointedEars.de> References: <71f4511f-db38-48ba-82cb-939e378a8553@googlegroups.com> <08064429-d134-4a46-b3c2-8a895bcba5fc@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1481750266 27250 eJwFwYEBwCAIA7CXZFDqzkGw/59gAk/LZiQyIIimwCz9WFTbKZp3f/dgMyS5V5dhX+8hJh8ilRGU (14 Dec 2016 21:17:46 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 14 Dec 2016 21:17:46 +0000 (UTC) User-Agent: KNode/4.14.2 X-NNTP-Posting-Host: eJwNycEBwCAIA8CVQEiUcYTC/iPY+x6MytpO0DGYY2tNiLOFZTqZt1e1iKJ3/HUjsw354eioPBgiESU= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.] > [?] bit-n...@hotmail.com wrote: >> What does TWO dots mean in Javascript, exactly? Like, e.style.fontSize - >> e is an object, right? And then? > > Guys, please stop fighting, I'm just trying to understand. > > So - I'm going with the first answer to my reply - is that information > correct? i.e "e" is an object, "style" is an object inside it, Still *NO* (you need to ignore the attacks and read more carefully; especially my postings which contain *illustrations* of this, even though they are longer because of that). Objects have identity, _not_ name. And objects do _not_ reside inside other objects. (At least not in these languages.) But object?s properties(? values) can refer to (can hold references to) other objects which can make it appear this way if you are not looking closely. > and "fontSize" is a property of THAT object.....? Yes. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.