Javascript parameters

User avatar
Jezza
5StarLounger
Posts: 843
Joined: 24 Jan 2010, 06:35
Location: A Magic Forest in Deepest, Darkest, Kent

Javascript parameters

Post by Jezza »

Does anyone know if there is a maximum number of parameters a javascript function can have. I have written one with 18 which create a string at the end and it is not working!
Jerry
I’ll be more enthusiastic about encouraging thinking outside the box when there’s evidence of any thinking going on inside it

JoeP
SilverLounger
Posts: 1636
Joined: 25 Jan 2010, 02:12

Re: Javascript parameters

Post by JoeP »

There is no limit to the number of arguments.

Joe
Joe

User avatar
Jezza
5StarLounger
Posts: 843
Joined: 24 Jan 2010, 06:35
Location: A Magic Forest in Deepest, Darkest, Kent

Re: Javascript parameters

Post by Jezza »

Thanks Joe, as expected, I am going through a debug and this was one area of investigation...I shall continue
Jerry
I’ll be more enthusiastic about encouraging thinking outside the box when there’s evidence of any thinking going on inside it