It's dangerous, and maybe get unexpected result when refactoring. In following example, if we change foo
to async
, or inside foo
somehow reenter foo
, cache
may got change.
let cache;
function foo() {
cache = {};
// ...
}
export default foo;
function foo() {
let cache;
// ...
}
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