πŸ“š Summary of key learnings from Section 2, Part 2 of "The Complete JavaScript Course"

πŸ” Topics: Strict Mode, Functions, Arrays, and Objects


1️⃣ 'use strict' Mode

'use strict';

βœ… Use it at the beginning of your scripts or inside functions for safer code.


2️⃣ 🧠 Anonymous Functions

const greet = function () {
  console.log('Hello');
};

3️⃣ 🏹 Arrow Functions

const sum = (a, b) => a + b;