JavaScript: Functions are First-Class Citizens
Very often you can hear that in JavaScript "Functions are first-class citizens". All it means is that it's possible to: Assign a function to a variable Pass a function to another function (callback) Return a function from another function Store fun...
Oct 22, 20221 min read56