Extract unique values : let name = [ 'Aditi', 'Ayushi', ' Sanaya', 'Aditi', 'Aditi' ]; let newName = [...new Set(name)]; console.log( newName); ...
Let's understand one by one push() method push() method adds the new element to the end of an existing array. let arr = [ "Sumit", "Aditiya",...
Introduction What is JavaScript? JavaScript is an object-oriented scripting language used to make webpage interactive. You must be thinking 🤔 about...