function xxx() { alert('xxx'); } function xxx() { alert('new xxx'); }
if u call xxx()
it will alert 'new xxx'
http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-1.html
function xxx() { alert('xxx'); } function xxx() { alert('new xxx'); }
沒有留言:
發佈留言