The constructor is that of the built-in Lock prototype object.
You can use this as one way of creating locks although it is more popular to use the new Lock() technique.
This property is useful if you have an object that you want to clone but you don't know what sort of object it is. Simply access the constructor belonging to the object you have a reference to.
Prev | Home | Next |
Lock() | Up | Lock.isValid() |
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. |