Microsoft® JScript toString Method |
Language Reference Version 2 |
Returns a string representation of an object.
objectname.toString( )The objectname argument is an object for which a string representation is sought.
The toString method is a member of all built-in JScript objects. How it behaves depends on the object type:
Object Behavior Array Behavior [still to come] Boolean If the Boolean value is true, returns "true". Otherwise, returns "false" Function Returns a string returned of the following form, where functionname is the name of the function whose toString method was called: function functionname( ) { [native code] }Number Returns the textual representation of the number. String Returns the value of the String object. Default Returns "[object objectname]", where objectname is the name of the object type.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js554.htm, 3KB, , updated: 1997/9/30 03:44, local time: 2024/8/21 19:20,
3.12.108.62: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://piclist.com/tecHREF/language/jscript/js554.htm"> toString Method</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - 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: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
The Backwoods Guide to Computer Lingo |
.