Callback in JavaScript why they exist
In JavaScript's asynchronous nature is one of it's greatest strengths and one of it's most confusing parts.
What a callback function is
A callback function is simply a function passed as an arguments
aboutjavascript.hashnode.dev6 min read