Тёмный

Creating and Using JavaScript Symbols 

All Things JavaScript, LLC
Подписаться 39 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

31 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@Kay_Drechsler
@Kay_Drechsler 4 года назад
This explanation of symbols finally made click. Thanks!
@alaztetik2891
@alaztetik2891 Год назад
Great explanation and examples! Thank you Steve! 🚀
@AllThingsJavaScript
@AllThingsJavaScript Год назад
Glad it helped!
@vladislavamarkova8379
@vladislavamarkova8379 2 года назад
Perfect explanation! This is the video that helped me grasp the very concept of symbols and their main usage. Thank you!
@AllThingsJavaScript
@AllThingsJavaScript 2 года назад
Glad it was helpful!
@rajeshsahu3073
@rajeshsahu3073 4 года назад
Thank you so much for making a video on symbols.. I have only requested for symbols few weeks ago..
@ВіталійМороз-э6о
@ВіталійМороз-э6о 2 года назад
Well explained. Thank you, sir.
@rylaczero3740
@rylaczero3740 4 года назад
I also remember reading that request in comments section.
@wahibakamoulcode
@wahibakamoulcode Год назад
Thank you for this perfect video
@AllThingsJavaScript
@AllThingsJavaScript Год назад
Glad you liked it!
@pandabuddy1655
@pandabuddy1655 4 года назад
Mr, thank you Very much!
@davideugene7911
@davideugene7911 4 года назад
Salut et merci pour TOUT :)
@devins3711
@devins3711 3 года назад
thank you so much for this thorough explanation! Liked & sub'd!
@jared8411
@jared8411 2 года назад
I like the pace of this. I am confused by the common variable name of 'symb1' at line 1 and [symb1] inside object on line 6. Do you first have to make a symbol before you can use it as an object property, or is it just coincidence you named them the same. In other words, could you have just the same done [dog] inside of the object, or do you have to explicitly create it first? ... const dog = Symbol();
@AllThingsJavaScript
@AllThingsJavaScript 2 года назад
At line 1 I create a symbol and store it in symb1. Then I use that symbol inside the object as the key for that key/value pair.
@user-zb5jp4ti1d
@user-zb5jp4ti1d 4 года назад
thanks Steve for putting these together.. i have quick query... why do keys in objects/dictionaries(Python) need to be hashable. what does that mean... would you pls, when you can, create a video that speaks to this subject of hash maps. thank you once again.
@AllThingsJavaScript
@AllThingsJavaScript 4 года назад
Will add it to the list.
@KASANITEJ
@KASANITEJ 3 года назад
does uuid and symbols both are same?
@AllThingsJavaScript
@AllThingsJavaScript 3 года назад
Not sure if symbols use uuid, but it is the same idea.
@chetanpl
@chetanpl 4 года назад
Simple Q where we can use it?give me idea.
@AllThingsJavaScript
@AllThingsJavaScript 4 года назад
You would use a symbol as the property for an object similar to how you use a string for that purpose.
@chetanpl
@chetanpl 4 года назад
If interviwer ask me why you would use it give me an scanerio requirement.
@Deefamily1
@Deefamily1 Год назад
Okay I need more help I'm just teaching myself. I don't know if I'm asking the right question...by symbols. I mean a video explaining these ( ) and " " and [ ] and //.
@AllThingsJavaScript
@AllThingsJavaScript Год назад
These can be used for different things in JavaScript. For example, () can be used to group, to invoke a function, to define a method. So it depends on where it is used in the code. [] also have multiple applications. I would approach it by learning how to do different things with JavaScript.
@codingwithbasir
@codingwithbasir 4 года назад
What is your next coding video? Keep it up! Would you like to be RU-vid friends?
@RameenFallschirmjager
@RameenFallschirmjager 4 года назад
spammer
@TroenderTass
@TroenderTass 4 года назад
thanks, i think this must be one of the most useless programming functions i've ever encountered
@lailanashim274
@lailanashim274 4 года назад
Well, the point is: its worthless waste your time in it hahaha
@haciendadad
@haciendadad 4 года назад
What a bad name for this useless function
Далее
Latest JavaScript Features: Making Use of Iterators
6:58
Understanding JavaScript Callbacks
15:39
Просмотров 115 тыс.
The Complete Guide to JS Symbols ES6
12:18
Просмотров 54 тыс.
JavaScript Tip: 7 Ways to Iterate Over an Array
15:11
Build A Calculator With JavaScript Tutorial
38:50
Просмотров 1,5 млн
JavaScript Question: When Should I use the Prototype?
9:55
Learn JavaScript Event Listeners In 18 Minutes
18:03
Просмотров 593 тыс.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
How To Create A Search Bar In JavaScript
14:28
Просмотров 417 тыс.
JavaScript Fundamentals: Best Practices
15:01
Просмотров 23 тыс.