Skip to content

Tag Archives: javascript-functions

The MUL function is a miniature of the multiplication function. In this function, we call the function that required an argument as a first number,… Read More
In programming, functions are used to reduce the effort of writing the same instance of code repeatedly. In this article let us see how we… Read More
Cookies are simply small text files that a web server sends to the user’s browser. They contain the following data. Name-value pair with actual data.… Read More
In this article, we have given a number and the task is to replace the characters except for the last character with a specified mask… Read More
In this article, we will learn to create a function that invokes a function with partials appended to the arguments it receives in JavaScript. Approach:… Read More
In JavaScript objects store data in the form of key-value pairs where the key may be any property of the object. In this article let… Read More
In this article, we will see how to create a function that invokes each provided function with the arguments it receives using JavaScript. It helps… Read More
In this article, we will learn to create static variables in JavaScript. Static keyword in JavaScript: The static keyword is used to define a static… Read More
In this article, we will learn how to make a new object from the specified object where all the keys are in lowercase using JavaScript.… Read More
Given a callback function we have to iterate over a callback n times. The callback is a function that is passed as an argument. for… Read More
In this article, we will see how to negate a predicate function in JavaScript. Predicate functions are the ones that check the condition and return… Read More
Anonymous Function is a function that does not have any name associated with it. Normally we use the function keyword before the function name to… Read More
Given a multiline string and the task is to replace line breaks with <br> tag. Example: Input: `Geeks for Geeks is a computer science portal… Read More
In this article, we will see how to print tomorrow’s date in string representation using JavaScript. To achieve this, we use the Date object and… Read More