Why defining a function within a function?
To keep it isolated. It’s only used in this one place. Why define it more globally when it’s used locally?
Why defining a function within a function?
To keep it isolated. It’s only used in this one place. Why define it more globally when it’s used locally?