![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: Variables and Object creation using prototypes
From: Michael Winter <m.winter@blueyonder.co.uk>
Date: Sun Apr 30 2006 - 13:59:21 CEST
On 30/04/2006 12:33, nrlz@hotmail.com wrote:
> Try to guess what happens if I run the following code in any modern
A "modern browser" doesn't matter. Any correct ECMAScript implementation
> Will I get:
[snip]
> Group.prototype = {
The latter (4). The members array is a property of the prototype object,
[snip]
Mike
-- Michael Winter Prefix subject with [News] before replying by e-mail.Received on Mon May 1 05:27:51 2006 |