How can I limit for-in to 5 loops even if there are more properties in the object?
for(property in object){
//do this stuff for the first 5 properties
}
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
How can I limit for-in to 5 loops even if there are more properties in the object?
for(property in object){
//do this stuff for the first 5 properties
}