Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <2247105.DBWUxJIAXU@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 15 Oct 2011 02:44:31 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: closure bindings Newsgroups: comp.lang.javascript References: <1094da0d-f929-49ec-9875-1096cb4ff481@db5g2000vbb.googlegroups.com> <6ff9c23e-a7d9-42fe-9e86-8799eddcfd93@6g2000prh.googlegroups.com> <2994749.SPkdTlGXAF@PointedEars.de> <1d5abff7-3bdd-4046-8c57-0d398f76049e@l11g2000prh.googlegroups.com> <8914731.SEqChMirdb@PointedEars.de> <2dea80ab-579f-4250-ab83-c4bfadbfc569@z14g2000prk.googlegroups.com> <1587523.F8rYoQlyZp@PointedEars.de> <690cdab4-ef09-416d-ab55-d460cef4169e@p27g2000prp.googlegroups.com> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 38 NNTP-Posting-Date: 15 Oct 2011 02:44:32 CEST NNTP-Posting-Host: 7ec1e534.newsspool4.arcor-online.net X-Trace: DXC=a3FA356PPI5^8FBo0_81f>4IUKbe4? X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:7406 dhtml wrote: > Thomas 'PointedEars' Lahn wrote: >> dhtml wrote: >> > Thomas 'PointedEars' Lahn wrote: >> >> Michael Haufe (TNO) wrote: >> >> > Thomas 'PointedEars' Lahn wrote: >> >> >> BTW, how do you pass a *scope* to a method? >> >> > - pass "this" from the global scope to get a reference to it >> >> >> `this' has nothing to do with scope. >> >> > The global scope is also the global object. >> >> Well, no. > > No? The global variable object -- global scope -- is not the global > object? The problem is your (wrong) terminology, not your understanding. >> > In ES5, they call global scope as "global environment". (10.2.3 The >> > Global Environment) >> That's correct, and quite a different thing. > > It's a terminology change. ES3 uses "global scope" to mean the global > VariableObject, which again, is the global object itself; ES5 calls > that same thing the "Global Environment". An object is _not_ a scope, period. PointedEars -- Use any version of Microsoft Frontpage to create your site. (This won't prevent people from viewing your source, but no one will want to steal it.) -- from (404-comp.)