How to find the shortest string in an array -JavaScript
Finding the shortest string in an array can be a common task when working with…
JavaScript – double exclamation mark
Have you ever seen !! in someone’s code and had no idea what it does?…
How to get current URL in asp.net
Hey! Let’s take a look at how you can get the current asp.net URL. Good…
How to create a hangman in Javascript
Let’s briefly look at how you can create a hangman game in Javascript. We will…
How to get the longest string in array (Javascript)
Here, we will quickly look at how you can get the longest string in a…
How to get initials from the name (Javascript)
In this brief explanation, we will quickly look at two ways how you can get…
Javascript – how to split array in half
Very briefly we will learn how to split array in half I will show you…
Javascript- how to replace all spaces with dashes
In this very short article, we will learn how to replace spaces with dashes using…
Remove commas from string – Javascript
Let’s look at how you can achieve that!Well to be honest there isn’t much to…
Javascript – remove the last digit from a number
In this brief explanation, we will learn how to remove the last digit by using…
Javascript – get yesterday’s date
Kompot 1. method: setDate First, let’s initiate the date and assign it to the “yesterday”…
how to check if key exists in an object (Javascript)
Let’s learn how you can check if a key exists in two different waysBoth are…
Check if string is uppercase (Javascript)
In this very short article, we will learn how to check if the string is…
Javascript – how to remove emojis from a string
In this concise article, we will learn how to remove emojis from a string by…