*2

varsince v0.0-927 clojure.core/*2Edit

Holds the result of the second to last REPL expression.


Examples:

(+ 1 2 3 4)
;;=> 10

(+ 4 8)
;;=> 12

*2
;;=> 10

(inc *2)
;;=> 11

Note that a standalone evaluation of *1, *2, *3, or *e is not a part of remembered history:

:first
;;=> :first

:second
;;=> :second

:third
;;=> :third

*3
;;=> :first

*2
;;=> :second

*1
;;=> :third

See Also:


Source docstring:
bound in a repl thread to the second most recent value printed
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(def
  ^{:doc "bound in a repl thread to the second most recent value printed"}
  *2)