Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Objects
Object Object
PROPERTY: Object::prototype
Object.
prototype.
name = value
Any object that can call a constructor function has a
prototype
property allowing the addition of properties and methods.
The following example first creates a 'color' property for the 'Cat' object, and then creates a specific instance of it:
Code:
Cat.prototype.color = null
Sheeba.color = "black"
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information