mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Move internal modules to “internal” folder.
This commit is contained in:
15
.internal/stackClear.js
Normal file
15
.internal/stackClear.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import ListCache from './.internal/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