Top 10 interview related question

  1. difference between call and bind:

In javaScript binding is happening when bind() method used. By this method, we can bind an object to a common function. With call(), an object can use a method belonging to another object. The difference between call() and bind() is that the call() sets the this keyword and executes the function immediately and it does not create a new copy of the function, while the bind() creates a copy of that function and sets the this keyword.

2. Call and apply:

call() and apply() used for the exact same reason…

React fundamental things:

1.What is React?

React is an open-source javascript library that is used for building user interfaces. React is created by Facebook. In this blog, I try to explore the most basic fundamental of React.

2.React is a Library:

Generally, people confused about the framework and Library. A library is a collection of non-volatile resources used by computer programs. A framework is a platform for developing software applications. A framework is prebuilt things where libraries control the things. In frameworks, some decision is already made on the other hand React is a library where all the decision is…

JavaScript has seven data types and two data structure types. Those data types are called primitive values and data structure types are called non-primitive values.

Primitive values:

In JavaScript, a primitive is a data that is not an object and has no methods. Primitive values are checked by typeof() operator. Primitive values are-

  1. Undefined
  2. Null
  3. Booleans
  4. Numbers
  5. Strings
  6. BigInts
  7. Symbols

Undefined: A variable that has not been assigned a value has the value undefined. It’s more like unintentional missing value.

let y ;

console.log(typeof y) // undefined

Null: It’s more like intentionally missing values. It’s a special primitive type. …

JavaScript is one of the most popular languages nowadays.JavaScript is very much a high-level language. In programming, the string is a sequence of characters and also spaces and numbers. Javascript string has many built-in functions and it makes using javascript string easier.

.charAt() — This is used for finding the location for the character from a string. The charAt() method returns the character at the specified index in a string.

var str = programming;

var result = str.charAt(5)

console.log(result) //a

.concat() — this is used for adding two strings.

Using syntax is -

string.concat(string1, string2, …, stringX)

var str1 =…

minhazul abedin

Full 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