/**
 * tdesign v0.46.4
 * (c) 2022 tdesign
 * @license MIT
 */

'use strict';

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

var data = [];

var push = function push(value) {
  data.push(value);
};

var pop = function pop() {
  data.pop();
};

var stack = {
  push: push,
  pop: pop,

  get top() {
    return data[data.length - 1];
  }

};

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