|
Microsoft® JScript new Operator |
Language Reference Version 1 |
Creates a new object.
new constructor[(arguments)]
The constructor argument calls object's constructor. The parentheses can be omitted if the constructor takes no arguments.
The new operator performs the following tasks:The constructor then initializes the object according to the arguments passed to the constructor. These are examples of valid uses of the new operator:
- It creates an object with no members.
- It calls the constructor for that object, passing a pointer to the newly created object as the this pointer.
my_object = new Object; my_array = new Array(); my_date = new Date("Jan 5 1996");
© 1997 by Microsoft Corporation. All rights reserved.
| file: /techref/inet/iis/jscript/htm/js662.htm, 2KB, , updated: 2008/1/31 18:06, local time: 2009/11/22 02:56,
38.107.191.104:LOG IN
|
| ©2009 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? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/inet/iis/jscript/htm/js662.htm"> new Operator</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20091122 olin piclist, solarwind, Vitaliy, Tamas Rudnai, Jinx, cdb, Xiaofan Chen, Alan B. Pearce, Gerhard Fiedler, JonnyMac, * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
SX MASTERS: Eric Smith and Richard Ottosen's SERVID is an intellegent RS232 video terminal (4x20 character display) in one chip. See the write up here.. |
.