stackClear.js 208 B

123456789101112
  1. /**
  2. * Removes all key-value entries from the stack.
  3. *
  4. * @private
  5. * @name clear
  6. * @memberOf Stack
  7. */
  8. function stackClear() {
  9. this.__data__ = { 'array': [], 'map': null };
  10. }
  11. export default stackClear;