标签:style blog color java io for ar cti
javaScript是动态语言,那么动态参数的话也是与生俱来的,
在去取javaScript得参数用的是Arguments这个属性,去取
<script type="text/javaScript"> function test(){ var result = ""; for(var i = 0 ; i < arguments.length ; i++){ result += arguments[i]; } return result; } window.alert(test("a","b","c","d")); </script>
标签:style blog color java io for ar cti
原文地址:http://www.cnblogs.com/duwenlei/p/3910158.html