pop method

int pop()

Implementation

int pop() {
  final v = stack[0];
  stack.removeAt(0);

  //no Dart negative values should exist here
  //except the special stack-end flag 0x-10000
  assert(v == Engine.stackMarker || v >= 0);

  return v;
}