- From: Stewart Brodie <stewart.brodie@antplc.com>
- Date: Thu, 26 May 2011 11:39:25 +0100
Ian Hickson <ian at hixie.ch> wrote: > On Tue, 24 May 2011, Stewart Brodie wrote: > > > > Do getters need to be called to obtain a value which can be stored > > (after being cloned itself) in the result? > > I'm not sure I follow the question. Can you elaborate? Are getters called during cloning? i.e. what do I get if I clone this: { get a() { return 1 } } Do I get { a: 1 } or do I get {} ? -- Stewart Brodie Team Leader - ANT Galio Browser ANT Software Limited
Received on Thursday, 26 May 2011 03:39:25 UTC