Abstract Pop

Pops the value at the top of the AVM1 stack.

Corresponds to the AVM1 Pop action.

Example

function main() {
  @push("Hello, World");
  trace(@pop()); // `Hello, World!`
  trace(@pop()); // `undefined`
}

main();

Syntax

Syntax
AbstractPop :
   @pop Trivia? ( Trivia? )

Abstract type

TODO

{
  type: "OpPop";
}