mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-20 20:11:53 +02:00
15 lines
279 B
JavaScript
15 lines
279 B
JavaScript
import nativeCreate from './_nativeCreate.js';
|
|
|
|
/**
|
|
* Removes all key-value entries from the hash.
|
|
*
|
|
* @private
|
|
* @name clear
|
|
* @memberOf Hash
|
|
*/
|
|
function hashClear() {
|
|
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
|
this.size = 0;
|
|
}
|
|
|
|
export default hashClear;
|