<script type="text/javascript"> var myarr1= ["我","爱","你"]; document.write(myarr1.slice(myarr1.indexOf("爱"))); </script>
应该是最后的分号要是英文模式下的