Callbacks in Javascript - Why they exist
In Javascript, functions are first class citizens, this means you can treat a function just like a variable
You can assign it to a value, move it around, and most importantly - pass it as an argument
vt-blogs.hashnode.dev3 min read