JSJaspreet Sharmainjaspreet-sharma.hashnode.dev·Mar 11 · 3 min readThe Magic of this, call(), apply(), and bind() in JavaScriptIn JavaScript, the value of this depends on how a function is called, not where the function is defined. What this means in JavaScript (simple explanation) In JavaScript, this inside the Global Exec00
JSJaspreet Sharmainjaspreet-sharma.hashnode.dev·Mar 10 · 5 min readFunction Declaration vs Function Expression: What’s the Difference?What are functions? Function in programming is same as function in mathematics — represents relationship between inputs and output. Function is therefore, a piece of code that provides functionality. 00
JSJaspreet Sharmainjaspreet-sharma.hashnode.dev·Mar 8 · 3 min readUnderstanding Object-Oriented Programming in JavaScriptWhat is Object-Oriented Programming? Object-Oriented Programming (OOPS) is programming paradigm. It is a way of writing a program. In this, we write our code to simulate real-world projects. Like real00
JSJaspreet Sharmainjaspreet-sharma.hashnode.dev·Mar 7 · 3 min readUnderstanding Objects in JavaScriptWhat are Objects? Objects are one of the 8 data types provided by JavaScript. It is a non-primitive data type. It is mutable. It contains key-value pairs. Syntax: { key: value, } How to create an00
JSJaspreet Sharmainjaspreet-sharma.hashnode.dev·Mar 6 · 4 min readJavaScript Operators: The Basics You Need to KnowIn Programming, First of all, we input the data. Then, data is stored. Afterwards, data is validated. Then, data is processed. At the end, processed data is displayed. How to Process the Data? In prog00