JavaScript Problem: Using Set to Create a Non-duplicated Collection
994 views · Published 11 April 2018 · 10:33 · Indexed 20 September 2026
Channel: All Things JavaScript, LLC · 2018 · Education
Creating an array of values without duplicating a value takes a bit of work. You need to check each new value. ES6 provides an easier way of doing that by creating a set. In this tutorial we will look at sets and how to work with them. For more resources on JavaScript: http://www.allthingsjavascript.com Full personalized courses on JavaScript: https://http://allthingsjavascript.com/personalized.html Courses offered on Udemy: Getting Started or Advanced Topics at a huge discount: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=YOUTUBE https://www.udemy.com/learn-modern-javascript-advanced-topics/?couponCode=YOUTUBE Tutorials referred to in this video: Spread operator: https://youtu.be/ugw32Yprzjw Higher Order Functions: https://youtu.be/O9lMynNdka4