1.This

If a method or function contains “this”, then “this” will represent the object from which the method or function will be called.


React is a JavaScript “library”. It is not exactly a “framework”. It is not a complete solution and you will often need to use more libraries with React to form any solution. React does not assume anything about the other parts in any solution.

#Creat React Application

install: npx install create-react-app my-app

cd my-app

npm start

Your application is ready to build.


Today I will discuss ES6 and Hoisting

Before starting Hoisting we need to Clear the idea of some ES6 Features.

#First I am talking about var, let, and const

Before ES6 a programmer only uses var for declaration variable in javaScript. now we can use let and const also. why came let and const ??

Remember:

  1. var is a function scope, But let and const is a block scope.

2. if you declare a variable by using var you will again declare the same variable by using var.

example:


JavaScript (JS) is a lightweight, interpreted, just-in-time compiled programming language with object-oriented capabilities that allows to build interactivity into otherwise static HTML pages.

JavaScript (JS)t is the most popular programming language in the world, so it’s no wonder that JavaScript is one of the most sought-after skills in the web development industry today.

In this blog I will discuss about JavaScript basic important concet String and Array.

#String

  1. A JavaScript string stores a series of characters.
  2. A string can be any text inside double or single quotes:

example : “we love our country” , “123455”

In this example “we love our…

Sultan Mahmud

MERN Stack Web Developer

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