Microsoft® JScript for...in Statement |
Language Reference Version 1 |
Executes a statement for each element of an object or array.
for (variable in [object | array])
statementThe for statement syntax has these parts:
Part Description variable A variable that can hold any of the elements of object.
object, array An object or array over which to iterate. statement The statement to be executed for each member of object. Can be a compound statement.
Before each iteration of a loop, variable is assigned the next element of object. You can then use it in any of the statements inside the loop exactly as if you were using the element of object.When iterating over an object, there is no way to determine or control the order in which the members of the object are assigned to variable.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/language/jscript/js754.htm, 2KB, , updated: 1997/9/30 03:45, local time: 2024/10/31 21:43,
3.23.101.1:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://massmind.ecomorder.com/Techref/language/jscript/js754.htm"> for...in Statement</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.