UNPKG
foop
Version:
beta (5.0.0)
latest (5.0.0)
5.0.0
interfaces that describe their intentions.
github.com/fluents/chain-able
fluents/chain-able
foop
/
src
/
deps
/
cache
/
weak.js
13 lines
(9 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
isWeakMapUsable =
require
(
'../is/weakMapUsable'
)
let
weakMap
if
(isWeakMapUsable) { weakMap =
new
WeakMap
() }
// else {
// weakMap =
// }
module
.
exports
= weakMap