The internal constructor is invoked via the new operator.
This is not implemented by all objects. Those that do support it are called constructor objects. In other languages these might be called factory objects.
The global object does not have a Construct property and you cannot make copies of it with the new operator.
Prev | Home | Next |
Constraint | Up | Constructor function |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |