UNPKG

myplayaaaaa

Version:

wwww

17 lines (16 loc) 392 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script> let arr=["tom","jarry","susan"]; // for of 访问的是遍历器对象--遍历器对象通过.next()遍历 数组对象 for(let value of arr.values()){ console.log("value",value); } </script> </head> <body> </body> </html>