code: function processQueue(queue, value) {
              if (!queue || queue.length === 0) return;
              var handler, i = 0;
  
              while (handler = queue[i++]) {
                  handler(value);
              }
          }
docs: Utility functions  
  Apply all functions in queue to value
  @param {Array} queue array of functions to execute
  @param {*} value argument passed to each function