See Also
Description
Exits from the current function and returns a value from that function.
Syntax
return [expression];
The expression argument is the value to be returned from the function. If omitted, the function does not return a value.
Remarks
You use the return statement to stop execution of a function and return the value of expression. If expression is omitted, or no return statement is executed from within the function, the expression that called the current function is assigned the value undefined.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js762.htm,
2KB, , updated: 2008年2月2日 07:13, local time: 2025年9月13日 17:53,
©2025 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://massmind.org/Techref/inet/iis/jscript/htm/js762.htm"> return Statement</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.