<! DOCTYPE HTML> <HTML> <head> <Meta charset = "UTF-. 8"> <title> </ title> </ head> <body> <Script> // routine for, while loop is the same // here only for recording and for ... in loop var List = [l, 2,3 ]; for (I in List) { the console.log (I, List [I]); } var obj = {name : 'zhansan', Age: 18 is, Sex: 'NaN3' } for (I in obj) { the console.log (I, obj [I]); } for ( var I = 0; I <10;i++){ console.log(i); } </script> </body> </html>