Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: references to DOM parts Date: Fri, 01 Jan 2016 03:32:39 +0100 Organization: PointedEars Software (PES) Lines: 40 Message-ID: <4457635.ebrsGVpr3F@PointedEars.de> References: <1etso5kfd39eq$.19v3fhasifklp$.dlg@40tude.net> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1451615560 30339 eJwFwYkBADAEBLCVKOcZp5T9R2gCMbZ2NZhisaaS77EPa0WyjRK1FOXMPeeRF3gv53Y44PEBED0Qpw== (1 Jan 2016 02:32:40 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Fri, 1 Jan 2016 02:32:40 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBACAEBMCVFC/GSc/+I3QH9eXvmMMNgymPoVVVg02m3J7rN0xPliRCqdDkSEzK2Q81rx2ZS8ldH4W9Fmw= Cancel-Lock: sha1:nI8ngq8t2890IvrUBh7k2449bH0= X-NNTP-Posting-Host: eJwFwYEBwDAEBMCV+sFjHFH2HyF3JgTblUa1tRWTadSmTHl9nofqOZdRDeNJXzCjcbURPx4WjBCw Xref: csiph.com comp.lang.javascript:29084 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. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.