Functions that are re-used in many other functions or variables.
const sum = (a, b) => a + b;
const mySum = sum(4, 1);
/* sum() is a first-class function */
Functions that use as a parameter or return other functions.
const button = document.querySelector('#signup-button');
const registerUser = () => {
console.log('User registered successfully!');
};
button.addEventListener('click', registerUser);
/* addEventListener() is a HOF */