hello my dear beautiful friends and javascript lover as usual today I am going to tell most top 10 tricky things about javascript so wait for what! Let's get start!

1. Accidental global variable

If the bar was supposed to hold a reference to a variable only inside the scope of the foo function and you forget to use var to declare it, an unexpected global variable is created.

function doSum() {
let a = b = 0;
a++;
return a;
}

doSum();
typeof a;
typeof b;

Let’s look at line 2: let a = b = 0. This statement declares a local variable…


hi, Buddy today I am going to tell you about the most popular javascript library react.js so let's get start!

1.What is react.js?

React. js is an open-source JavaScript library that is used for building user interfaces specifically for single-page applications. like we can use it to make web applications more easily. if we used vanilla javascript it will be complicated and expensive as well but react make it easier and simple though.in the current situation react more popular than vue.js and angular.js

2.why use it?


What's up javascript programmer today I am going to tell you something very serious and interesting topics about javascript so let's get started!

1.Expression

so what is expression if you asked me so I will answer you an easy way just be like more than one operator who will execute the result like an example of if you put console.log(2*2) the answer will be 4 and so here got a part of Expression.

or,

An expression is a combination of operators, constants and variables. …

hellow iamatik

Web Developer | React.js | JavaScript |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store