Template Literals in JavaScriptWHY Template Literals? Imagine you want to print your name, age, city in old java script style where Template Literals dosen't exsist, then you are supposed to write code in this form: //OLD js Style Mar 17 · 3 min readjava-script-basics.hashnode.dev
Object-Oriented Programming in JavaScriptWHY 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 = Mar 15 · 4 min readjava-script-basics.hashnode.dev
JavaScript Operators:While writing code, we often need to calculate prices, compare two passwords, or check if a user is logged in. And we need operators here. An operator in JavaScript is a symbol that performs an actionMar 15 · 5 min readjava-script-basics.hashnode.dev
Understanding Objects in JavaScriptIntroduction In javascript, an object is the collection of elements as key-value pairs. Now after reading "collection of elements", you might think that arrays are already used for storing elements, sMar 15 · 3 min readjava-script-basics.hashnode.dev
Arrow Functions in JavaScriptWe have studied about functions in previous blog. But arrow function are special type of function which provides us clarity and make code little shorter. Let's have a very short look on how arrow funcMar 15 · 3 min readjava-script-basics.hashnode.dev