When checking existence, should prefer Map#has()
over Map#get()
.
if (map.get(foo));
if (map.has(foo));
I think better ship this with prefer-map
together, so user can notice this problem when we fix object.foo
to map.get(foo)
in prefer-map
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too