How to interpolate variables in strings JavaScript

To interpolate variables in strings we need to use template literals…

How to get a unix timestamp in JavaScript

To get a Unix timestamp in JavaScript, we need to add unary operator…

How to create react components

Components are the reusable pieces of UI which help us to create once…

How to Fetch Data in React Redux using Hooks

In this tutorial, we are going to learn about making an http requests…

How to make copy of a string in JavaScript

JavaScript has a built-in method by using that we can make a copy of…

How to get last character of a string in JavaScript

In this tutorial, we will learn two different ways to get the last…

How to remove first character from a string in JavaScript

In this tutorial, we are going to learn about two different ways to…

How to get first character of a string in JavaScript

In this tutorial, we are going to learn about how to get the first…

How to find the sum of numbers in an array javascript

In this tutorial we are going to learn two ways to find the sum of an…

How to convert ascii code to character Javascript

To convert a ascii code to character, we need to use method in…

How to refresh a page by using JavaScript

In JavaScript, we can use the location.reload() method to refresh or…

How to get last index of string in JavaScript

To get the last index of a string, we need to subtract the property…

Getting started with GraphQL, Apollo and React hooks

In this tutorial, we are going to learn about how to fetch and mutate…

How to concatenate two strings in Swift

Swift offers us three different ways to concatenate or joining strings…

How to write a Hello world in Groovy

In this tutorial, you will learn about how to write a hello world…