Py2K wishes
Fred L. Drake, Jr.
fdrake at acm.org
Thu Dec 30 14:01:08 EST 1999
Neel Krishnaswami writes:
> There are no distinguished classes -- everything is an object. I
> am told Javascript is also prototype-based, but I don't know it.)
This is correct; each ECMAScript object has exactly one parent
object. It supports a number of rules about how to handle setting an
attribute; an object can even be set to disallow descendent objects to
set a local attribute of the same name, if I recall correctly.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list