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?
Printable View
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?
JS uses positional parameters. You can of course send an object parameter with properties to simulate this.
Regards,
Scott.