JS: Collections - course 3900 rub. from Hexlet, training 14 hours, Date: December 1, 2023.
Miscellaneous / / December 04, 2023
You will learn more about arrays, associative arrays, and sets. In the end, you will learn to represent data as sets using Set, use Map to create dictionaries, create lazy collections to reduce the number of passes and memoize function calls for optimization productivity. Working with collections in JavaScript comes in handy if you decide to optimize the performance of your code. The knowledge from this course will help programmers speed up and simplify their work with data. This course is suitable for programmers who want to improve their skills in working with collections in JavaScript. To make learning easier, you should learn the basics of JavaScript in advance.
Introduction
Get to know the course and review the project we will be working on throughout the course.
Array
Get acquainted with the most common data structure - an array, and look at the general description and features of working with an array in JavaScript.
Map
Consider the "map" data structure, also known as an associative array or "dictionary" in some programming languages. Learn to work with map in JavaScript.
Set
Consider the type and data structure of set, which is an implementation of the mathematical structure “set”.
Fluent interface
Get acquainted with the "fluent interface" design pattern.
Immutability
Consider one important feature - “immutability”, which we need to correct some important shortcomings in the implementation of the fluent interface.
Lazy evaluation
Get acquainted with the so-called “lazy” calculations - a method of optimization. Consider this feature of the language in the context of working with collections in JavaScript.
getter and memoization
Learn about JavaScript's ability to create dynamic properties.
Operation rest
Consider an interesting feature that allows you to pass a different number of parameters to a function.
spread operation
Consider the “other side” of the rest operation - the spread operation.
Destructuring
Introduce a JavaScript feature that allows you to retrieve data from arrays or objects in a manner similar to declaring an array in an object.
Additional materials
Articles and videos curated by the Hexlet team. Will help you dive deeper into the topic of the course