What’s HoF in JavaScript?

What are higher-order functions good for?