Code: write(s,d) 输出连续字符串
作者:
Code: write(s,d) 输出连续字符串
<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>
<!--
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>