Sign in

  1. null vs undefined?
const name = null;
console.log(name); // null
const name;
console.log(name); // undefined

  1. What is React?

  1. Hoisting: Hoisting is a Javascript by default behavior. It moves all the declaration at the top of the current scope (top of the function or script). This is called hoisting. Don’t understand? See the code below-
function getStudentName(info) {    if(info) {
var name = 'Rakib';
return name;
} else {
return null;
}
function getStudentName(info) {
var name;
if(info) {…


  1. Array.map(): The map method allows you to loop through all the elements and allows you to execute the function to all the elements of the calling array and it returns a new array.

Md Rakib

Web Developer (MERN Stack)

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