Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

overload functions

Status
Not open for further replies.

joelmac

Programmer
Jun 4, 2002
92
CA
hey there,

in JavaScript, can I overload functions like I can in Java.

ie: two or more functions with the same name, but different input parameters and/or return types.

Thanks,



________________________
JoelMac
 
Yes, you can. exactly the same way as you would in Java.
Spiny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top