var test = function(){ console.log(arguments[1].hello);}YAHOO.util.Event.on(window, 'load', test, {hello:'world'})
var test = function(e, args){ console.log(args.hello);}YAHOO.util.Event.on(window, 'load', test, {hello:'world'})
沒有留言:
張貼留言