In this article we are going to show you Difference between let and const and var in JavaScript. In JavaScript, let, const, and var are used to declare variables. The main differences between them are as follows: 1.var var was the original way to declare a variable in JavaScript. Variables declared with var are function-scoped, […]
Posts by codinator:
Difference between equality and strict equality in JavaScript?,
27 Feb 2023 in JavaScriptIn JavaScript, == (equality) and === (strict equality) are used to compare values or expressions. The main difference between them is how they compare the values. The == (equality) operator compares the values for equality after performing type coercion if necessary. This means that if the types of the operands are different, JavaScript will attempt […]
Difference between undefined and null in JavaScript?,
27 Feb 2023 in JavaScriptIn this article we are going to show you Difference between undefined and null in JavaScript? In JavaScript, both undefined and null represent an absence of value, but they are not the same thing. undefined means that a variable has been declared but has not been assigned a value yet. It is also the default […]
What are the data types supported by JavaScript?,
23 Feb 2023 in JavaScriptIn this post we will discuss What are the data types supported by JavaScript? The data types supported by JavaScript are: Undefined Null Boolean String Symbol Number Object
What are Single Page Applications (SPA)?,
20 Feb 2023 in Angular JS & React JSIn this article we will show you that What are Single Page Applications (SPA)? Single-page applications are web applications that load once with new features just being mere additions to the user interface. It does not load new HTML pages to display the new page’s content, instead generated dynamically. This is made possible through JavaScript’s […]
What is an event in React?,
15 Feb 2023 in React JS & React NativeIn this article you will see What is an event in React? In React, events are the triggered reactions to specific actions like mouse hover, mouse click, key press, etc. Handling these events are similar to handling events in DOM elements. But there are some syntactical differences like: Events are named using camel case instead […]
What are the limitations of React?,
13 Feb 2023 in React JS & React NativeIn this article you will see What are the limitations of React? Limitations of React are listed below: React is just a library, not a full-blown framework Its library is very large and takes time to understand It can be little difficult for the novice programmers to understand Coding gets complex as it uses inline […]
Differentiate between Real DOM and Virtual DOM,
10 Feb 2023 in React JSIn this article we are going to show you Differentiate between Real DOM and Virtual DOM Real DOM It updates slow. Can directly update HTML. Creates a new DOM if element updates. DOM manipulation is very expensive. Too much of memory wastage. Virtual DOM It updates faster. Can’t directly update HTML. Updates the JSX if […]
What is strict mode in javascript,
09 Feb 2023 in JavaScriptIn ECMAScript 5, a new feature called JavaScript Strict Mode allows you to write a code or a function in a “strict” operational environment. In most cases, this language is ‘not particularly severe’ when it comes to throwing errors. In ‘Strict mode,’ however, all forms of errors, including silent errors, will be thrown. As a […]
Difference between var and let keyword in JS,
08 Feb 2023 in JavaScriptIn this article i will show you Difference between var and let keyword in javascriptSome differences are From the very beginning, the ‘var’ keyword was used in JavaScript programming whereas the keyword ‘let’ was just added in 2015. The keyword ‘Var’ has a function scope. Anywhere in the function, the variable specified using var is […]