javascript 好象没有重载的吧,比方说window.open()函数有好多参数,而我们用的时候一般也是要什么参数就给什么参数,window.open("aaa.aspx");window.open('page.html', 'newwindow', 'height=100, width=400, top=0,left=0,toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no,status=no');又或者有一自定义函数
function show(aa,bb,cc){}调用的时候 
show('aa'),
show('aa','bb'),
show('aa','bb','cc');
show(null,'bb')都可以正确调用到