src/extensions/default/AutoUpdate/node/AutoUpdateDomain.js
function getFunctionArgs(args) {
        if (args.length > 2) {
            var fnArgs = new Array(args.length - 2),
                i;
            for (i = 2; i < args.length; ++i) {
                fnArgs[i - 2] = args[i];
            }
            return fnArgs;
        }
        return [];
    }
function getFunctionArgs(args) {
        if (args.length > 2) {
            var fnArgs = new Array(args.length - 2),
                i;
            for (i = 2; i < args.length; ++i) {
                fnArgs[i - 2] = args[i];
            }
            return fnArgs;
        }
        return [];
    }
function getFunctionArgs ( args ) { if ( args . length > 2 ) { var fnArgs = new Array ( args . length - 2 ) , i ; for ( i = 2 ; i < args . length ; ++ i ) { fnArgs [ i - 2 ] = args [ i ] ; } return fnArgs ; } return [ ] ; }
Gets the arguments to a function in an array
@param   {object} args - the arguments object
@returns {Array}   - array of actual arguments
Gets the arguments to a function in an array