Avoid meta programming to initialize functions in module scope (#26388)
I'm trying to get rid of all meta programming in the module scope so
that closure can do a better job figuring out cyclic dependencies and
ability to reorder.
This is converting a lot of the patterns that assign functions
conditionally to using function declarations instead.
```
let fn;
if (__DEV__) {
fn = function() {
...
};
}
```
->
```
function fn() {
if (__DEV__) {
...
}
}
``` S
Sebastian Markbåge committed
d310d654a7c7aab6c8213da84ef36dfba82711b0
Parent: 21aee59
Committed by GitHub <noreply@github.com>
on 3/15/2023, 1:00:22 AM