代码:<script>
msg = "Please ";
msg += "Blieve ";
msg += "JavaScript is funny!!";
document.write( msg );
document.write('<br/>'); // 这是换行var length = msg.length; //length是全局属性,所以如果你要用 可var
document.write( "The length is " + length );
</script>
msg = "Please ";
msg += "Blieve ";
msg += "JavaScript is funny!!";
document.write( msg );
document.write('<br/>'); // 这是换行var length = msg.length; //length是全局属性,所以如果你要用 可var
document.write( "The length is " + length );
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货