1. #1
    Sencha Premium Member
    Join Date
    Feb 2009
    Location
    Boca Raton, FL
    Posts
    94
    Vote Rating
    1
    jimmifett is on a distinguished road

      0  

    Default 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?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,344
    Vote Rating
    490
    scottmartin has a spectacular aura about scottmartin has a spectacular aura about scottmartin has a spectacular aura about

      0  

    Default

    JS uses positional parameters. You can of course send an object parameter with properties to simulate this.

    Regards,
    Scott.

Thread Participants: 1