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.2-pre1
0.3.1
0.3.0
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.23
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
REST framework
restifyjs.com
restify/node-restify
restify
/
benchmark
/
node_modules
/
lodash
/
_hashClear.js
16 lines
(13 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var
nativeCreate =
require
(
'./_nativeCreate'
);
/** * Removes all key-value entries from the hash. * *
@private
*
@name
clear
*
@memberOf
Hash
*/
function
hashClear
(
) {
this
.
__data__
= nativeCreate ?
nativeCreate
(
null
) : {};
this
.
size
=
0
; }
module
.
exports
= hashClear;