Reverse a number

let num = 12345;

function reverseNumber(item) {
let newNum;
let array1 = [];
newNum = num.toString().split(‘’).reverse().join(‘’);
return newNum;
}

alert(reverseNumber(num));

Remove a key value pair from array

let array1 = [
{firstName : ‘akarsh’, lastname …

I was lazy, lazy to get up early in the morning, lazy to prepare my breakfast, lazy to iron my clothes. Lazy to polish shoes. Lazy to workout. Lazy in many ways.

Once I sat down and was thinking about my self, the way I look, the way I lead…

It was in October 2019, where React announced Hooks. I though why the heck you need this. React is a great Library, no doubt about it. But you need to be updated with new functionalities. But I never regret learning and using ‘Hooks’ in React.

Before learning what ‘Hooks’ is…

We often come across the terms called Class, Objects, Constructor , new and this in Javascript, Typescript or other programming languages. In common all we need to know is the following.

What is OO (🙂bject 🙂riented) ?

Putting the real world things into objects

To understand this, let’s get into layman’s terms (I am even assuming…

In Javascript / Typescript often you come across the variable declarations, Here we use let, var, const. This article is all about the usage of var and let

Var and Let

These are some commonly asked interview questions. Let’s check them out, in this article.

Javascript

What is DOM ?

Explain Javascript Promises ?

Have you ever heard about Typescript. Well, these days I am hearing a lot about it. All the interviews which I attend asks me, whether am I familiar with Typescript or not ? …

“Hello”

“Hello. Where have you been ? Why were You not lifting my calls ?. It’s been a month now.”

“This is inspector Arjun Speaking”

“Yeaaaaahhhh!! I thought it’s Ravi”

“Ravi has made suicide 10 days before. He contacted you earlier this month. So May i ask you, What is…

React JS is a front end Library used to create SPA(Single Page Applications). It can be written with Javascript or TypeScript flavours.

React JS is also available for Android and IOS as React Native. In Short, There is no need for separate code base for Android and IOS any more.

Your popular tool to manage a project. Wait Wait… Managing the code of your project. What is GIT?. It’s a version control for your code. Irrespective of working in teams or as an individual, it helps a lot.

How about working in a team of 6 – 8 developers?. How…

Akarsh Saraff

Full stack developer, Blogger, Poet, Writer

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