Microsoft® JScript constructor Property |
Language Reference Version 2 |
Specifies the function that creates an object.
object.constructor
The required object argument is the name of an object or function.
The constructor property is a member of the prototype of every object that has a prototype. This includes all intrinsic JScript objects except the Global and Math objects. The constructor property contains a reference to the function that constructs instances of that particular object. For example:orx = new String("Hi"); if (x.constructor == String) // Do something (the condition will be true).function MyFunc { // Body of function. } y = new MyFunc; if (y.constructor == MyFunc) // Do something (the condition will be true).
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js548.htm, 2KB, , updated: 1997/9/30 02:44, local time: 2024/11/28 23:15,
18.116.89.8:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/language/jscript/js548.htm"> constructor Property</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.