Sometimes we see duplicate items in an array. For our work convenience it is very important to remove duplicate items. It is very simple to remove duplicate items from an array by using for loop. Let’s see an example:

Factorial recursive

Factorial recursive is a popular way for Multiplication integers. The factorial…

React is a JavaScript library for building user interfaces. React.JS is an open-source, component-based front end library. It designs simple views for each state for any kind of application. A react application is made of multiple components, each responsible for rendering a small, reusable piece of HTML. …

Every JavaScript function is actually a “Function Object”. It is a block of code designed to perform a particular task. The function keyword goes first, then goes the function name, then a list of parameters.


function myFunction(a, b){

return a + b;


const result = myFunction(4, 6);


Amena Akter

I am a Front End 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