back

fun back(): T

gets the last value that has been added and removes it from the history.