Posted in Javascript onAugust 19, 2007
<script type="text/javascript">
<!--
function write(s,d)
{
d = d || "<br />";
document.write(s+d);
return function(s){
return write(s,d);
}
}
write("aaa")("bbb")("ccc")("ddd");
write("1",",")("2")("3")("4");
//-->
</script>
Code: write(s,d) 输出连续字符串
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@