A function is a block of code designed to perform a particular task. Functions are very important and powerful fundamental building blocks in JavaScript. If you are starting to get involved with functions in JavaScript, you’ve probably started to hear terms “First Class Functions” and “High Order Functions”. Let’s take a look at what these terms are trying to convey, the connection between them, and what they provide us.