-
array of arguments vs named arguments
array of arguments vs named arguments
So, array vs named, which is the preferred methodology by ExtJS?
With named, are all values required arguments?
Do values not listed with the specified parameters (extra params) get passed as well, or does it fail trying to locate the method?
-
Sencha - Support Team
JS uses positional parameters. You can of course send an object parameter with properties to simulate this.
Regards,
Scott.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us