Callbacks in JavaScript: Why They Exist
Functions as first-class values
Before you can fully understand callbacks, you need to appreciate something special about JavaScript: functions are values. Just like a number or a string can be stored
anuragblogs.hashnode.dev6 min read