mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v4.0.0.
This commit is contained in:
15
internal/stackClear.js
Normal file
15
internal/stackClear.js
Normal file
@@ -0,0 +1,15 @@
|
||||
define([], function() {
|
||||
|
||||
/**
|
||||
* Removes all key-value entries from the stack.
|
||||
*
|
||||
* @private
|
||||
* @name clear
|
||||
* @memberOf Stack
|
||||
*/
|
||||
function stackClear() {
|
||||
this.__data__ = { 'array': [], 'map': null };
|
||||
}
|
||||
|
||||
return stackClear;
|
||||
});
|
||||
Reference in New Issue
Block a user