UNPKG
cione-comp-lib
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`
cione-comp-lib
/
es
/
node_modules
/
lodash-es
/
_mapCacheClear.mjs
13 lines
(12 loc)
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
Hash
from
"./_Hash.mjs"
;
import
ListCache
from
"./_ListCache.mjs"
;
import
Map
from
"./_Map.mjs"
;
function
mapCacheClear
(
) {
this
.
size
=
0
;
this
.
__data__
= {
"hash"
:
new
Hash
(),
"map"
:
new
(
Map
||
ListCache
)(),
"string"
:
new
Hash
() }; }
export
{ mapCacheClear
as
default
};