I don’t know about speed but a best practice is to isolate function from its environment. It’s better for testing and debugging
Also it prevent one wrong manipulation to corrupt all function call (look out for pure function in javascript)
I don’t know about speed but a best practice is to isolate function from its environment. It’s better for testing and debugging
Also it prevent one wrong manipulation to corrupt all function call (look out for pure function in javascript)