What exactly is a for-in loop


#1

what exactly is the function of a for-in loop ?


#2

@ayushpradeep take a look @ this article on for-in loops an when you get the basics you can read the one on MDN(Mozilla Developer Network)