code: function () {
                  //Push all the globalDefQueue items into the context's defQueue
                  if (globalDefQueue.length) {
                      //Array splice in the values since the context code has a
                      //local var ref to defQueue, so cannot just reassign the one
                      //on context.
                      apsp.apply(context.defQueue,
                                 [context.defQueue.length - 1, 0].concat(globalDefQueue));
                      globalDefQueue = [];
                  }
              }
docs: Internal method to transfer globalQueue items to this context's
  defQueue.