Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: NEVER use "this" as a variable Re: Is the input type ID passed as a parameter onChange? If not how can i achieve it. Date: Wed, 14 Aug 2019 13:45:50 +0100 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87ef1nnce9.fsf@bsb.me.uk> References: <7289e763-fc8c-4686-8f68-12094ee06440@googlegroups.com> <7fc94d37-a44c-43a0-bb81-b9116f9d20fa@googlegroups.com> <0c7e3cae-3c01-4ca8-a2e9-db004a2de1b8@googlegroups.com> <05dbfbb6-648f-4cbf-89e6-7fb1d1e3b44e@googlegroups.com> <25a5b812-2599-492a-856c-b052f9024d4d@googlegroups.com> <26c701d7-cb23-44f2-9ca2-b4c30b888030@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="a0a44f1830ad8c8facaa8d9801d50a16"; logging-data="12645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189P+Kq65oHguw3g7mjLZZHMg1jSbESNLY=" Cancel-Lock: sha1:0x62SWH5t/urCfFRuU3BDwAUWNo= sha1:5PN13YHzl+oMa2MLMLnP47+srFE= X-BSB-Auth: 1.ec555ef53f5bb90a3b72.20190814134550BST.87ef1nnce9.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:37134 "R.Wieser" writes: >> The difference is, that "this", "document" and "window" >> name an *existing* object and "that" not. > > Exactly that. And AFAICT thats the /only/ difference. Jumping in, so maybe I've missed some context, but this is a keyword which makes it different in other ways. For example, you can't use it as an identifier, but it can be a property name. -- Ben.