/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 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
