<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
//有没有小于3的
var arr = [10,30,4];
arr.map(function(value,index,arr){
console.log('元素'+value)
console.log('索引'+index)
console.log('数组'+arr)
})
</script>
</body>
</html>
07-14
1039
04-12
7233
08-25
1103