Перейти к содержимому

The lesser-known Symbol in JavaScript and TypeScript

Flo Woelki

0:00 / 0:00

The lesser-known Symbol in JavaScript and TypeScript

1 116 просмотров · 2 г. назад
Flo Woelki
28,9 тыс. подписчиков
1 116 просмотров · 2 г. назад
Symbols are truly unique in JavaScript and it is one of lesser known data types. This video covers everything you have to know about Symbols. If you're excited about a brilliant feature of TypeScript, check out this video:    • How did I not know this TypeScript type tr...   📝 Description In this video, I will demonstrate to you the real power of Symbols. This unique data type allows us to make properties in a JavaScript object truly unique, even when they share the same name, and are even "private". This video will provide an in-depth explanation of when and why to use this data type, including a real-world use case for using Symbols. ⏳ Timestamps: 00:00 - Introduction 00:38 - What are Symbols? 01:13 - First example using Symbols 05:29 - Second example using Symbols 07:05 - Outro 👋 Hey there! If you are new to this channel: Hey 👋 my name is Flo and I am a professional software engineer with a passion for coding in Golang, TypeScript, JavaScript, and Rust. This channel is where I share that passion and dive into the exciting world of software engineering. Plus, I love using Emojis and paper-based animations (so have a look for that, if you want to find my videos). 📨 Support and Connect! Become a member.    / @flowoelki   Discord:   / discord   X / Twitter: https://x.com/FlorianWoelki LinkedIn:   / florian-woelki   GitHub: https://github.com/FlorianWoelki #javascript #symbols #datatype