为什么是slice(1,3)) 而不是slice(1,2) 呀?
<script type="text/javascript">
var myarr1= ["我","爱","你"];
document.write(myarr1.slice(1,3));
</script>
为什么是slice(1,3)) 而不是slice(1,2) 呀?
<script type="text/javascript">
var myarr1= ["我","爱","你"];
document.write(myarr1.slice(1,3));
</script>
为什么是slice(1,3)) 而不是slice(1,2) 呀?
2018-03-29
举报