Create a new stack s, push an element x, then pop the element into the variable y.
var s = []; s.add(x); var y = s.removeLast();
const s = [1, 2, 3]; s.push(x); const y = s.pop();
import java.util.Stack;
Stack<T> s = new Stack<>(); s.push(x); T y = s.pop();
uses contnrs;
s := TStack.Create; s.Push(x); y := s.Pop;
s = [] s.append(x) y = s.pop()
s = [] s.push(x) y = s.pop
let mut s: Vec<T> = vec![]; s.push(x); let y = s.pop().unwrap();
No security, no password. Other people might choose the same nickname.