/ Published in: JavaScript
URL: http://pietschsoft.com/post/2008/02/28/JavaScript-ForEach-Equivalent.aspx
Expand |
Embed | Plain Text
var names = ["Chris","Kate","Steve"]; for ( var i in names ) { alert( names[i] ); }
You need to login to post a comment.
