mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Bump to v4.12.0.
This commit is contained in:
14
_hashClear.js
Normal file
14
_hashClear.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import nativeCreate from './_nativeCreate';
|
||||
|
||||
/**
|
||||
* Removes all key-value entries from the hash.
|
||||
*
|
||||
* @private
|
||||
* @name clear
|
||||
* @memberOf Hash
|
||||
*/
|
||||
function hashClear() {
|
||||
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
||||
}
|
||||
|
||||
export default hashClear;
|
||||
Reference in New Issue
Block a user