JavaScript ES6 / ES2015 - [08] Set, Map, WeakSet and WeakMap

preview_player
Показать описание
In this video we will look at some of the new data structures. Map, set, weakmap and weakset

SUPPORT THIS CHANNEL WITH A CUP OF COFFEE PER MONTH:

ONE TIME DONATIONS:
Комментарии
Автор

This tutorial should start with the need for set and map in Javascript and also it should cover the differences between set and weakset as well as map and weakmap

chetandnyane
Автор

I wish you used a bit more time explaining why the following is necessary in the first place. Which holes does these new implementation fill. You don't show anything new with the following video, that I couldn't do with normal object - which is the reason people are watching, after all.

mathiaspiletti
Автор

Im a subscriber and I have gained some insight from your videos, thanks a lot for that. However, for this very video, it would have been better if you explained why Set and Map should be used and what problems they solve.

Also, nothing was said about the fact that Set takes unique values, so a repetition of values in the set are ignored.

sawyerrken
Автор

Hi! I wonder, what is the purpose for using this set and map instead of regular arrays and objects ?

mantuciprian
Автор

Hi. I really like your ES6 videos. They are very informative, simple easy to understand. Just thought i'd let you know that i really appreciate your work. Thanks :)

faraitanekha
Автор

I love this tutorial. I have worked with es6 for sometime but the tutorial is an answer to many questions I had.

karundaful
Автор

What is the difference between Set and WeakSet?

praveenbilla
Автор

Why don't you explain uses for each one, I guess the syntax it's clearly explained but what is the difference between weakMap and Map, for example?

agustinperalta
Автор

Tnx bro i need this weakMap for my cart ordering stuff rendered in the front end to avoid server load and faster response :) goodJob

Cheers

David-poli
Автор

Hi. I am really like your ES6 videos. And can you please tell us what is the exact purpose of Set, Map, WeakSet and WeakMap.

sundarrajsundaran
Автор

I don't understand why this video got so many views. It just shows how to use maps and weakMaps, sets and weakSets, but not when to use them as opposed to regular arrays and objects, and also it doesn't say anything about the actual difference between the weak and non-weak versions....

lucaban
Автор

very rarely I dislike any video, but had to do this one

anadisharma
Автор

so you teach very good, extremely easy to understand <3

DungNguyenVan-ogld
Автор

so what is the difference between map and weakMap?

muhammadasimsabir
Автор

Very good video about the how the syntax work ect definitely not a explanation video so🤷‍♂️

jenson
Автор

I came here to find out if you could add two of the same values to a set. There was no explicit explanation of this so i just went to the mozilla documentation because its faster and more up to date than every video on youtube

LewizW
Автор

myArray is restricted to the 1st 4 array elements when I console.log it?

steveliveshere
Автор

In set method i get like this in my console [Object set]..why???

biswadev
Автор

I am getting WeakMap { <items unknown> } and WeakSet { <items unknown> } printed even after inserting items via the respective functions. Please advise.

Imran-M-
Автор

Can not explain here - What are WeakSet and WeakMap? This video is not helpful.

manasiroy