A truthy value is one that evaluates the boolean value true. which can also be expressions, statements, and values. Some truthy values to keep in mind:
In this blog, I’ll try to clear your all confusion about React JS. And now I'm talking about what I think are the key points of React JS. Hope you’ll like it. Let’s get right into it.
ReactJS is designed in such a manner that follows unidirectional data flow or one-way data binding. The benefits…
Generally, bindings occur whenever we declare or set a value in a variable. For example, we use var, let, and const to assign a variable.
var x = 1;
let y = 2;
const z = 3;
Now I will explain how var and hoisting occur and how to use ES6 for block bindings using var, let, and const
When variables declared with var they are hosted to the top of the function or global scope if declared outside a function. var declarations are treated as if they are hoisted to the top of the function as enclosing block or…
Here I will show you some useful and common string methods. Let’s get right into it.
The concat() method is used to appends two or more strings. The concat() method returns a new string that results from concatenating the original string with the string values that were passed in as parameters.