Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: John Harris Newsgroups: comp.lang.javascript Subject: Re: Javascript classes. Please take a look at my question. Date: Thu, 09 Apr 2015 09:24:11 +0100 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: Reply-To: jgharris@ic4life.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: mx02.eternal-september.org; posting-host="21ad42a9e7ffec65f0c6a3171a433434"; logging-data="14221"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JV7gMgwhn6A1Kp/yFFeOTdAP+SDL3HC8=" User-Agent: ForteAgent/7.20.32.1218 Cancel-Lock: sha1:0ieNMf+w3rG6Xk4ZKs8nYpLi4Hg= Xref: csiph.com comp.lang.javascript:27256 On Wed, 8 Apr 2015 10:44:21 -0700 (PDT), Rahul Reddy wrote: >Write a class that calculates for a variable number of parties and = seats and include the needed two lines how to call your class. Classes don't calculate. It's objects belonging to classes that calculate. A class is simply a collection of very similar objects or potential objects. John