Julia for MATLAB Users/Core Language/Language Fundamentals/ans

ans Most recent answer

edit

Julia's ans is functionally basically identical, though note that it is available only at the REPL.