1 00:00:00,100 --> 00:00:04,700 The javascript for in loop loops through the properties of an object. 2 00:00:04,770 --> 00:00:11,550 In this example script we've created an object variable called Person the object contains three elements 3 00:00:12,060 --> 00:00:24,560 f name l name and age the for in loop will loop through each item of the object and output the data. 4 00:00:24,630 --> 00:00:27,720 Let's go ahead and test this in our web browser to see the result. 5 00:00:38,730 --> 00:00:42,170 We can see that each item in the object has been output. 6 00:00:42,270 --> 00:00:43,740 John Smith in 30.