 (defvar skewer--last-timestamp 0
   "Timestamp of the last browser response. Use
 `skewer-last-seen-seconds' to access this.")
+
+(defvar skewer-result-buffer "*skewer-result*"
+  "Buffer name for `skewer-pprint-eval-last-expression' result output.")
 
 (cl-defstruct skewer-client
   "A client connection awaiting a response."

         (skewer--save-point #'skewer-eval-last-expression))
      (cl-destructuring-bind (string start end) (skewer-get-last-expression)
        (skewer-flash-region start end)
        (skewer-eval (if pprint
                         (concat "skewer.log("
                                 ;; remove tailing semicolon
                                 (let ((trimmed (trim-string string)))
                                   (if (equal (substring trimmed -1 nil) ";")
                                       (substring trimmed 0 -1)
                                     trimmed)) ");")
                       string)
                     #'skewer-post-minibuffer)))))

(defun skewer-get-defun ()
  "Return the toplevel JavaScript expression around the point as

            (end (js2-node-abs-end node)))
        (list (buffer-substring-no-properties start end) start end)))))

(defun skewer-eval-last-expression (&optional prefix)
  "Evaluate the JavaScript expression before the point in the
waiting browser. If invoked with a prefix argument, insert the
result into the current buffer."
