JavaScript: Maps and Sets

Go to class
Write Review

Free Online Course: JavaScript: Maps and Sets provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. JavaScript: Maps and Sets is taught by Jamie Pittman.

Overview
  • This course provides a detailed guide to JavaScript maps and sets, exploring common use cases and surprises they hold.

Syllabus
  • Introduction

    • Get to know JavaScript maps and sets
    • What you should know
    1. Maps
    • The Map object defined
    • Build your Map object with the set method
    • Access a value with get
    • Does the map have your key?
    • Determine map size
    • Remove key-value pairs with clear and delete
    • Map: Keys and values methods
    • Map contents with the entries method
    • Loop over a map with forEach
    • Challenge: Maps
    • Solution: Maps
    2. WeakMaps
    • What is the WeakMap object?
    • Same methods, different map
    • Challenge: WeakMaps
    • Solution: WeakMaps
    3. Sets
    • The Set object defined
    • Add values to your set
    • Does Set have your value?
    • Get your set size
    • Delete and clear values in your set
    • Iterate over values in a set
    • Iterate over a set with entries
    • Iterate over your set with forEach
    • Challenge: Sets
    • Solution: Sets
    4. WeakSets
    • What is the WeakSet object?
    • Same methods, different set
    • Challenge: WeakSets
    • Solution: WeakSets
    Conclusion
    • Next steps