Extract unique values : let name = [ 'Aditi', 'Ayushi', ' Sanaya', 'Aditi', 'Aditi' ]; let newName = [...new Set(name)]; console.log( newName); // Output: ["Aditi", "Ayushi", " Sanaya"] Sum of all numbers in an array let num = [5, 3, 7, 2...

Markdown supported · ⌘↵ to post
Aditi Shree
Pranav Krishna
Those tricks are amazing and they help in a person's daily life! Especially, the number to string conversion... I was impressed by that one!
Loved reading through this. Thank you 🙏