close
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script type="text/javascript">
function add1(aa){
return aa+1;
}
var arr=[0,1,2,3];
document.write(arr.map(add1));
</script>
</body>
</html>
全站熱搜
留言列表