code: function invokeFunctions(promise) {
    var funcs = promise.funcs;
  
    for (var i = 0, c = funcs.length; i < c; i += 3) {
      invokeFunction(promise, funcs[i], funcs[i + promise.state]);
    }
  
    // Empty out this list of functions as no one function will be called
    // more than once, and we don't want to hold them in memory longer than needed
    promise.funcs.length = 0;
  }
docs: Invoke all existing functions queued up on the promise  @param {promise} the promise to run functions for @return void