Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27253
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Javascript classes. Please take a look at my question. |
| Date | Wed, 08 Apr 2015 23:52:10 +0200 |
| Organization | solani.org |
| Lines | 17 |
| Message-ID | <mg47u5$9q8$1@solani.org> (permalink) |
| References | <e7563f81-a11d-4d56-a61a-c0c84f966c3e@googlegroups.com> <mg456a$2sr$4@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | solani.org 1428529925 10056 eJwNyMEBwCAIA8CVoJhAxwla9h/B3vMQdO5cBBcGk6P0+uKfzbdVdEvh4bY4bCfaDpFSSGVzAQ+rEMo= (8 Apr 2015 21:52:05 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Wed, 8 Apr 2015 21:52:05 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
| X-User-ID | eJwFwQkBwDAIA0BLo4FQ5IzPv4TeGSgsVxrV1hasjdM1+WEglNuQKvU68G7+mom4ktjwiX0jgBFo |
| In-Reply-To | <mg456a$2sr$4@dont-email.me> |
| Cancel-Lock | sha1:sFf2lmIX34vgjVywF8qq7O40oqw= |
| X-NNTP-Posting-Host | eJwFwYkBgDAIA8CVVJJQxinf/iN4R9OrcogClztMkxfP1vNVP3cN3SnHpDVm9ozLEhG3IuwHMqkR1g== |
| Xref | csiph.com comp.lang.javascript:27253 |
Show key headers only | View raw
Denis McMahon wrote: > I haven't tested the following code, but it might return a result object > that either contains the results you want, garbage, or a single error > attribute. <snip> > Sorry it's not a class object, but I've never really grokked the whole > emulate OOP with javascript using functions as classes thing[1]. It appears that the function can be used as constructor function and called with `new election([...])`, so all is well. ;) -- Christoph M. Becker
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Javascript classes. Please take a look at my question. Rahul Reddy <rahulreddy160@gmail.com> - 2015-04-08 10:44 -0700
Re: Javascript classes. Please take a look at my question. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-08 22:49 +0200
Re: Javascript classes. Please take a look at my question. Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-08 21:05 +0000
Re: Javascript classes. Please take a look at my question. "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-08 23:52 +0200
Re: Javascript classes. Please take a look at my question. Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-04-09 01:31 +0200
Re: Javascript classes. Please take a look at my question. "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-09 16:31 +0200
Re: Javascript classes. Please take a look at my question. Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-09 01:48 +0000
Re: Javascript classes. Please take a look at my question. John Harris <niam@jghnorth.org.uk.invalid> - 2015-04-09 09:24 +0100
csiph-web