猿问

哪里出问题了?

<head>

  

   <title></title>

   

</head>

<body>

<script  type="text/javascript">

    var bb = "javascript"

    var cc =5644655564165

 

    document.write(bb.charAt(3)+"<br>");

    document.write(bb.replace("java", "kkkk") + "<br>");

    document.write(bb.toLowerCase() + "<br>");

    document.write(bb.toUpperCase() + "<br>");

    document.write(bb.split("va")+"<br>"):

    document.write(bb.substr(2,8)+"<br>");

    document.write(bb.substring(3,7)+"<br>");

    document.write(bb.concat(cc) + "<br>");

     document.write(bb.indexOf("r")+"<br>");

    

    

      var  nn=new  Array("12","578","1345","987");

    var  mm=new Array("hg""hu","hnh");

     

    document.write(nn.join("-")+"<br>");

    document.write(mm.revesre()+"<br>");

    

  









</script>

</body>

</html>


li274058914
浏览 1101回答 1
1回答

Caballarii

document.write(bb.split("va")+"<br>"):写成了冒号 var  mm=new Array("hg""hu","hnh");少一个逗号document.write(mm.revesre()+"<br>");reverse拼错了总共三个地方
随时随地看视频慕课网APP

相关分类

JavaScript
我要回答