/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

const data = [];
const push = value => {
  data.push(value);
};
const pop = () => {
  data.pop();
};
const stack = {
  push,
  pop,
  get top() {
    return data[data.length - 1];
  }
};

export { stack as default };
//# sourceMappingURL=stack.js.map
