Truthy….falsy??? Yes, the first topic of my article is truthy….falsy.
· Simply remember that any numbers type data is truthy without 0. Also remember not to set any number type data inside the double quotation.
· Without empty string any string type data is truthy.
I will try to understand this with some example :
const num = 0;
I hope you already know about React JS and can create at least one puchka application using by React JS. But do you know? How does react js work? Right now it’s make you a confusion? 🤦🏼♂️ Am I right or Am I right?
Don’t worry about it? Let’s start with me………………….
Creating the representative of a DOM node can be done through creating the Element function in React. Here is an example of it:
const tag = React.createElement("h1"…
No matter how great a programmer you are, some mistakes can cause the program to stop. Or the program may stop due to incorrect input from the user, or the server may not respond properly, even then the program may stop. To protect the program from this stop, you need to have an idea about error handling.
Suppose, I did a coding of 100 lines. I have an error in line 3. In this case, if I use error handling, the program will not stop for of my mistake in line 3. The program will continue by skipping line 3…
Array is one kind of variable where we can store multiple data in a single variable. Arrays are used when we want to access elements in an orderly fashion using a single variable. We can store strings, boolean and numbers in a single array.
Dynamic array means:
At first I discuss of variable naming…