Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Aleksandro Newsgroups: comp.lang.javascript Subject: Re: references to DOM parts Date: Fri, 1 Jan 2016 02:56:51 -0300 Organization: A noiseless patient Spider Lines: 41 Message-ID: References: <1etso5kfd39eq$.19v3fhasifklp$.dlg@40tude.net> <4457635.ebrsGVpr3F@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 1 Jan 2016 05:54:14 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="3bb0fced1de70649df863026b02cdb5f"; logging-data="13389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lstaTCx7xXGsvno5LHZfJffVcm4/fWp4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <4457635.ebrsGVpr3F@PointedEars.de> Cancel-Lock: sha1:HeZIRZLOmYfr4l+sMIMGYFCHa6I= Xref: csiph.com comp.lang.javascript:29086 On 31/12/15 23:32, Thomas 'PointedEars' Lahn wrote: > Aleksandro wrote: > >> On 31/12/15 15:19, Evertjan. wrote: >>> Aleksandro wrote on 31 Dec 2015 in >>> comp.lang.javascript: >>>> On 31/12/15 11:15, JJ wrote: >>>>> It's like assigning a variable to the return value of removeChild() >>>>> then re-insert the node into the document later using appendChild() or >>>>> insertBefore(). Without saving a reference to the removed node, the >>>>> node would be a garbage. > ^^^^^^^^^^^^^^^^^^ > What is that supposed to mean? > >>>> I think would apply the same rules as to any Javascript object. > > Which would be, and where would you look it up? > >>> Is the Javascript-object garbage-collection the same as the >>> DOM-tree-element one? > > _element node_ in the _document_ tree, and no. > >> DOM elements are normal Javascript objects, or should be. > > Nonsense. > >> Someone confirm please. > > There is no “Javascript”, so there are no “Javascript objects” and no > “Javascript-object garbage-collection” and so on. > > Please get the basics right before you post, and use the correct terminology > when you post. There is enough nonsense about this topic on the Net > already. Hello, you are kindly invited to come get off from your little arrogance buble for a bit so you can actually explain things to all the (in your sole opinion) misinformed. Regards.