为什么下面代码不会输出?
<script type="text/javascript"> var myarr1= ["我","爱","你"]; document.write(myarr1.slice(myarr1.indexOf("爱"))); </script>
<script type="text/javascript"> var myarr1= ["我","爱","你"]; document.write(myarr1.slice(myarr1.indexOf("爱"))); </script>
2017-10-29
举报