A simple explanation of Callback functions in JavaScript
Nov 30, 2021 · 3 min read · Hi everyone! 👋 In this post we will take a deep dive into callback functions. Suppose you created a function called add2 which added 2 to the number it was passed: function add2(num) { return num = num + 2; } console.log(add2(3)); // 5 If we ...
Join discussion

