mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Modularize master branch.
This commit is contained in:
15
_stackClear.js
Normal file
15
_stackClear.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import ListCache from './_ListCache.js';
|
||||
|
||||
/**
|
||||
* Removes all key-value entries from the stack.
|
||||
*
|
||||
* @private
|
||||
* @name clear
|
||||
* @memberOf Stack
|
||||
*/
|
||||
function stackClear() {
|
||||
this.__data__ = new ListCache;
|
||||
this.size = 0;
|
||||
}
|
||||
|
||||
export default stackClear;
|
||||
Reference in New Issue
Block a user