/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

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

exports["default"] = stack;
//# sourceMappingURL=stack.js.map
