stack = [] stack.push 1 stack.push 2 console.log stack console.log stack.pop() console.log stack