问答详情
源自:2-1 JavaScript-输出内容(document.write)

<script type="text/javascript"> var mystr="我是"; var mychar="JavaScript"; document.write(mystr+"<br />"); document.write(mystr+mychar+"的忠实粉丝"); </script>

<script type="text/javascript">

    var mystr="我是";

    var mychar="JavaScript";

    document.write(mystr+"<br />");

    document.write(mystr+mychar+"的忠实粉丝");

  </script>


提问者:Carrie_IT 2014-12-31 11:40

个回答

  • ran754317
    2015-12-14 16:18:39

    我是

    我是JavaScript的忠实粉丝