Posts from JavaScript

Change the format of date in JavaScript (All possible formats)

By Manoj Srinivas

In this tutorial, we will learn how to change the format of date in JavaScript (All possible formats). As a developer, you should display the current date in any format required by.... Read More

Remove last element from an array in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to remove the last element from an array in JavaScript. Removing the last element from an array in JavaScript Variables used in code arr –.... Read More

Convert first letters of a string to uppercase in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert the first letters of a string to uppercase in JavaScript. Variables used in code str – string const str = "This is a Tutorial i.... Read More

How to pass JavaScript Variables to Python in Flask?

By Shamik Lahiri

In this tutorial, we’ll take a look at how to pass JavaScript variables to a Python variable in Flask. In JavaScript, variables store data that can be used or edited later on.... Read More

Convert string to array in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert string to array in JavaScript. Converting String to a character array in JavaScript Variables used in code str – string const s.... Read More

How to split a string in JavaScript with built-in and custom function

By Manoj Srinivas

In this tutorial, we will learn how to split a string into an array of substrings in JavaScript. Splitting a string in JavaScript Variables used in code str – the string that.... Read More

Convert a string to a number in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to convert a string to a number in JavaScript. In projects, it is often needed to convert number formatted string into integer formatted number .... Read More

How to reverse a string in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to reverse a string in JavaScript. Reversing a string in JavaScript Variables used in the codeĀ  str – the name of the variable where we s.... Read More