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/inet/iis/jscript/htm/js548.htm, 2KB, , updated: 2008/1/31 03:25, local time: 2024/11/21 13:51,
3.133.128.227: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/inet/iis/jscript/htm/js548.htm"> constructor Property</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.