Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29750

Re: Refer object within itself

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Aleksandro <aleksandro@gmx.com>
Newsgroups comp.lang.javascript
Subject Re: Refer object within itself
Date Tue, 1 Mar 2016 15:07:12 -0300
Organization A noiseless patient Spider
Lines 48
Message-ID <nb4liq$kat$1@dont-email.me> (permalink)
References <76ydnVazm-uPoU3LnZ2dnUU7-TGdnZ2d@westnet.com.au> <dfd01b06-7ffd-44e6-94be-7ee2fdab0e18@googlegroups.com> <XnsA5BCEB469CEDBeejj99@194.109.6.166> <setter-20160228231357@ram.dialup.fu-berlin.de> <XnsA5BCEDE00D83Feejj99@194.109.6.166> <nb205k$ie7$1@dont-email.me> <XnsA5BDC9B85FA3Aeejj99@194.109.6.166> <nb46cq$leb$1@dont-email.me> <XnsA5BEB0B2826D1eejj99@194.109.6.166>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Injection-Date Tue, 1 Mar 2016 18:04:11 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="94f1fbd16a6aa7718c3cc214993e7bab"; logging-data="20829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iXNCH2/5wos8PtXO1ke0KmUJCcWNj2+Y="
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
In-Reply-To <XnsA5BEB0B2826D1eejj99@194.109.6.166>
Cancel-Lock sha1:jGGH9suIvR74XAURMakJrwfcQJk=
Xref csiph.com comp.lang.javascript:29750

Show key headers only | View raw


On 01/03/16 13:22, Evertjan. wrote:
> Aleksandro <aleksandro@gmx.com> wrote on 01 Mar 2016 in 
> comp.lang.javascript:
> 
>> On 29/02/16 15:49, Evertjan. wrote:
>>> Aleksandro <aleksandro@gmx.com> wrote on 29 Feb 2016 in
>>> comp.lang.javascript: 
>>>
>>>> On 28/02/16 19:23, Evertjan. wrote:
>>>>> ram@zedat.fu-berlin.de (Stefan Ram) wrote on 28 Feb 2016 in 
>>>>> comp.lang.javascript:
>>>>>
>>>>>> "Evertjan." <exxjxw.hannivoort@inter.nl.net> writes:
>>>>>>> // Uncaught TypeError: Cannot set property height of #<Object> 
>>>>>>> // which has only a getter
>>>>>>
>>>>>>   Defining the setter was kindly left as an
>>>>>>   exercise for the reader by Ram Tobolski,
>>>>>
>>>>> This being a discussiongroup, 
>>>>> why guess at the level of kindness of a single poster?.
>>>>>
>>>>>>   so you might just give it a try!
>>>>>
>>>>> Well, I just did, and being tested I found that it gives additional
>>>>> errors, unforseen by the unwary, because it is not an equivalent to
>>>>> defining an objects element, so I think it is not a nice way to
>>>>> implement the problem at hand.
>>>>
>>>> What errors were these? I want to see them.
>>>
>>> I showed you already, are we discussing or do you want to "win"?
>>>
>>>>>> // Uncaught TypeError: Cannot set property height of #<Object> 
>>>>>> // which has only a getter
>>>
>>> This error is additional, as it does not come up with my solution.
>>
>> Oh, so all the madness is because you did not make a getter. /facepalm
> 
> No, the error is an REAL error.
> 
> The OP asked how to add an object element whose value was computed from 
> another element. Now a get DOES NOT produce such an element, but just 
> sumulares it in some aspects, but ERRORS OUT in another aspect.

Whenever you wrongly use a feature it might error in other aspect!!

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Refer object within itself Andrew Poulos <ap_prog@hotmail.com> - 2016-02-26 22:50 +1100
  Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-26 04:51 -0800
    Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-26 14:15 +0100
  Re: Refer object within itself "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-02-26 16:43 +0100
    Re: Refer object within itself Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-26 19:25 +0100
  Re: Refer object within itself Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-26 19:23 +0100
  Refer object within itself Ram Tobolski <ramtob@gmail.com> - 2016-02-28 10:06 -0800
    Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-28 23:07 +0100
      Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-28 23:23 +0100
        Re: Refer object within itself Stefan Weiss <krewecherl@gmail.com> - 2016-02-29 00:11 +0100
        Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-02-29 14:49 -0300
          Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-29 19:49 +0100
            Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-01 10:48 -0300
              Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-01 17:22 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-01 15:07 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-01 20:26 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-04 21:53 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-05 14:22 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-05 10:17 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-06 11:59 +0100
                Re: Refer object within itself Ram Tobolski <ramtob@gmail.com> - 2016-03-06 10:48 -0800
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-06 19:07 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 10:44 +0100
                Re: Refer object within itself Aleksandro <aleksandro@gmx.com> - 2016-03-07 12:54 -0300
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 17:59 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-07 13:44 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-07 22:59 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-07 17:00 -0800
                Re: Refer object within itself "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-03-08 10:24 +0100
                Re: Refer object within itself Scott Sauyet <scott.sauyet@gmail.com> - 2016-03-08 13:03 -0800

csiph-web