Create js_for_in_loop.php

 
I am begeiner in javascript. try to understand the example.var person is a array,
where shows the personal information. variable x
indicates the last value of person array object.
console(x) using to view the value so x = age.
in general we know loop has 3 terms for(i=0;i<n;i++)
so here loop run until it found the last value line 11 is ta condition of middle term(i<n).
and txt += person[x]; here txt is a variable its increment until last object (age).