Day 2 — Functions and Arrow Functions Explained Like a Pro”
What is a function ?
Every time you find yourself repeating code, JavaScript whispers, “There’s a smarter way.”That smarter way is called a function.
Functions are reusable blocks of code that perform a specific taskyou can define once and use anywhe...