Object-Oriented Programming in JavaScript
WHY OOPs!
Think of a problem statement: You have to store data of 5 student, how can you store them?
You may use techniques like variables and arrays:
//via variable
const name = "Mohit";
const age =
java-script-basics.hashnode.dev4 min read