Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!news.belwue.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1547431.qVoOGUtdWV@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Thu, 03 Nov 2011 20:17:25 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: Newbie Q's: references, scopes, overwrites Newsgroups: comp.lang.javascript References: <3004336.SPkdTlGXAF@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 19 NNTP-Posting-Date: 03 Nov 2011 20:17:26 CET NNTP-Posting-Host: 13d171f2.newsspool4.arcor-online.net X-Trace: DXC=4MTQDSO=A5Q\9P[:DUn00Q4IUKDmUV1YU:iFm_XJ[ X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:7959 Thomas 'PointedEars' Lahn wrote: > Dom Bannon wrote: >> Dumb question #1: what exactly is 'window'? > > It is a host-defined property of the ECMAScript Global Object which value > is a reference to an object that represents the view of the document that > contains the script code. … or includes it with a `script' element that has a `src' attribute specified. PointedEars -- Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network. -- Tim Berners-Lee