News

‘Higher-order functions’ is a fancy term for functions that take other functions as arguments or that return functions. Very powerful! Last week, I casually dropped the term “higher-order ...
This is because JavaScript uses an event loop. The loop picks stuff off of ... Here’s what our main script (main.js) looks like now: function fetchPersonWithWorker(id) { return new Promise ...