Mohmmad Naushad’s Post

🚀 Understanding Functions in JavaScript 👇 🔹 First order functions These are regular functions that take inputs, do something, and return an output. ❌ Don’t accept or return other functions. 🔹 Higher order functions A higher order function is any function that either 📌 takes another function as an argument, or 📌 returns a function as its result 📌 or both Examples: map(), filter(), reduce() 🔹 First class functions Functions in JavaScript can be 1️⃣ stored in variables, 2️⃣ passed as arguments or 3️⃣ even returned from other functions. That’s what first-class means, these functions are "first class citizens 😎" If you understand this trio, you understand the core. #JavaScript #Frontend #WebDevelopment #ReactJs #Angular #LearnToCode #backend

  • No alternative text description for this image

If you add currying to it.... what should I call it?

To view or add a comment, sign in

Explore content categories