用ES5中的遍历方法来遍历一个数组
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
// JS提供的原生遍历方法
;['abc','e','fgh'].forEach(function(item,index){
console.log(item)