Cognizant Interview Question

How Javascript Even looping works?