Jump to content

Function With Unlimited Arguments


ShadowMage

Recommended Posts

Hi again,I'm just wondering if it's possible to create a function that takes unlimited arguments like the document.write() function. If so, how would I go about doing that?I understand I could create an array and pass the array to the function, but I don't really want to create an array to store the values when I can just type in the values I want instead. Especially with shorter lists of three or four values.Help is appreciated. Thank you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...