<!DOCTYPE html>
<html>
<head>
<title>give it a try</title>
<script type="text/javascript">
var myarray1=[2,4,8];
var myarray2=[3,9,18];
document.write(myarray1.contact(myarray2));
</script>
</head>
<body>
</body>
</html>
方法名写错了,应该是concat
方法名是concat()
这几天看的太多都忘得差不多了,刚好复习了一个