/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 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
