Комментарии:
How to delete non-primitive value from set?
Ответитьnicely problem solution approach! keep it up
Ответитьexplanation is awesome.
ОтветитьThank you!
Ответитьnice vide, finally i got it the difference and why it is useful. may i ask you what is that extension with the rocket down below that it says 2.3h? is like a focus mode activated?
ОтветитьStill couldn't understand what's the real life advantage of Map comparing to Object 🤔
ОтветитьClear and concise! But you forgot to mention the get methods to get the value after setting
ОтветитьHi, I have one query. how can we delete non-primitive values from set
ОтветитьThis is a great introduction!!
ОтветитьPlease make a more videos on Javascript. Which will help to solve Data structures and algorithms problems
ОтветитьThanks for the video. But, in the Map, why would you want to have an empty object as the key? How would you access that item in the Map
ОтветитьA video with more practical examples would be great! Nice video!
ОтветитьFor your information, you can not store multiple same keys of type number or string in MAP. Multiple same keys can only work with non-primitive datatype , when set as a key
Ответитьlol I needed this video 5 hours ago before my technical assessment.
Ответитьim confuse. i thought const cannot be reassigned. how can you use add and delete ?
Ответитьhow to delete object inside of [1, 2, 3, 4, 6, {id: 7}]
i wanna achieve to delete object {id: 7 } with Set delete method,
i would be like this mySet.delete({id: 7})
is it right ?
Thank you. Really appreciate this vid. Subbed!
ОтветитьI guess I don't get the value of a set object. Surely it has to have more than just being unique. It'd be easy enough to write a method to remove redundant entries from an array. Where are the methods for doing set intersection, union, and subtraction, for instance? In set theory, you use these operations all the time.
ОтветитьWow, no more search abt JS Set n Map, thank U so much Bro!👍
Ответитьthaks for this awesome tutorial, very helpful, cleared my confusion about sets and maps. thnks
ОтветитьHow is it possible to change the const value?
Ответитьthe way youre explaining is so different. such clarity
Ответитьbut why would i want to map an empty object to a value?
ОтветитьYou could also use `nodemon` for this tutorial, which would automatically rerun your script as soon as you save it. And optionally could also add a console.clear() on the top of this script so the older outputs are removed on every run.
ОтветитьThanks
Ответитьadd the map.get method explanation... good work!
ОтветитьHow we can maintain set of unique objects? Javascript doesn't have equals method as Java to compare objects. right?
ОтветитьNice .
ОтветитьYou help me a lot. Thanks!
ОтветитьCan you explain map delete with multiple empty objects as keys?
ОтветитьJaha pana Tusi Great ho :). A beginner like me in Javascripts. I was able to understand your map & set concepts and am able to implement the same in my code. working successfully. Thanks & God bless you
ОтветитьThanks for the explanation! And from my understanding 'Set' is the best way to always ensure correct key order which a regular object can't rely on.
Ответитьso maps can hold any value as either the key or value from what ive read.
which means the key itself can be any primitive value or object. im having trouble understanding what the use case would be for using an object as a key? i just cant seem to wrap my brain around it was wondering if you had any insight?
Thank you for this video!!! I finally know how to use a Map!!! :D
ОтветитьMan I Thank You Strongly For Make Everything Crystal Clear..
ОтветитьNice video, please make one more for advance use of SET and MAP, covering more scenarios, where it should be used practically instead of any other data structure.
ОтветитьAlso, you can use get() to get the value from a Map property by its key.
ОтветитьWhat's the color theme?
ОтветитьGreat 👍you should make a series "data structures using js"
Ответитьgreat video
ОтветитьGreat video!
ОтветитьHelpful
ОтветитьReally nice explanation, thanks you. I expected to also learn Map.get.
Ответитьi am a newbie on Js, please how do i get my vscode to show the console of my code
Ответить