Wapgee Logowapgee

#javascript

Posts tagged “javascript”.

7 posts

All posts tagged #javascript

JavaScript

How to return multiple items in map function in JavaScript

The map() function enables you to loop over every element in an array and modify it and then return a different element to replace the initial element. The JavaScript map() functio

Ogunjimi David·16 May 2022
JavaScript

Removing first occurrence from a string in JavaScript

Removing first occurrence from a string in JavaScript using different methods

Ogunjimi David·16 May 2022
JavaScript

How to remove a property from an object in JavaScript

JavaScript Object is a collection of related data and functionality. Objects are used to store collections of various data and complex entities. To create an object in JavaScript,

Ogunjimi David·16 May 2022
JavaScript

How to remove last element from an array in JavaScript

The JavaScript array allows you to store several pieces of data in one place. The elements of an array are stored in square brackets […] . Every element in an array is separated by

Ogunjimi David·16 May 2022
JavaScript

Why you should use ?? instead of || in JavaScript

Why you should use ?? instead of || in JavaScript. The proper use and application of ?? explained.

Ogunjimi David·16 May 2022
JavaScript

How to save a string to clipboard in JavaScript

How to save a string to the clipboard using javascript

Ogunjimi David·16 May 2022