code: public Object resumeContinuation(Object continuation,
              Scriptable scope, Object functionResult)
              throws ContinuationPending
      {
          Object[] args = { functionResult };
          return Interpreter.restartContinuation(
                  (org.mozilla.javascript.NativeContinuation) continuation,
                  this, scope, args);
      }
docs: Restarts execution of the JavaScript suspended at the call
  to {@link #captureContinuation()}. Execution of the code will resume
  with the functionResult as the result of the call that captured the
  continuation.
  Execution of the script will either conclude normally and the
  result returned, another continuation will be captured and
  thrown, or the script will terminate abnormally and throw an exception.
  @param continuation The value returned by
  {@link ContinuationPending#getContinuation()}
  @param functionResult This value will appear to the code being resumed
  as the result of the function that captured the continuation
  @throws ContinuationPending if another continuation is captured before
  the code terminates
  @since 1.7 Release 2