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/23 01:40,
18.188.96.17: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://techref.massmind.org/techref/inet/iis/jscript/htm/js548.htm"> constructor Property</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.