A student is an entity. An object has two parts: - State: What the object has. (Name, Age) - Behavior: What the object does. (Study, Attend Class) In code, state is called a property. Behavior is ...
𝗗𝗮𝘆 𝟮𝟱 𝗼𝗳 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗠𝗘𝗥𝗡 𝗦𝘁𝗮𝗰𝗸 I spent day 25 studying Object-Oriented Programming (OOP) in JavaScript. I focused on how objects share properties through Prototypes. This ...