== vs === ?
‘10’ == 10 // true; and ‘10’ === 10 // false.
Because, === equal are strictly compare value weather == are not.
Null vs undefined?
Null value and undefined value are explicitly the same. There are 6 undefined values. Undefined can be many ways. But mainly undefined is falsy value.
If you declare a variable and don't pass a value…
WHAT IS REACT?
REACT IS A FRAMEWORK OR LIBRARY?
React is not a framework it’s a library.
A framework provides you with the certainty that you are developing an application that is in full compliance with the business rules, that is structured, and that is both maintainable and upgradable. But frameworks bind us in a certain way. …
ES6 introduced two new keywords to the js programmer. That are Const & let.
Const: We declare const instead of using var if the value of the variable is not going to be changed on code.
Let: We declare let if the variable value is going to change in further future. Let’s see an example of using const and let keyword instead of using var.
const name = “rimon”; //not…
01.Difference Between Math.floor and Math.round?
Although Math.floor function and Math.round looks like they are mostly doing similar jobs but there’s a little bit of difference between them.
First try to understand Math.floor();
Let’s consider we took a variable
var equation = 3/2;
console.log(equation); //returns 1.5
The result we will get by it is 1.5.
Full stack web developer