Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
188いいね 4,683 views回再生

Symbols - Javascript In Depth

We take a look at Symbols in Javascript together. These are a primitive type that are guaranteed to be unique and most commonly used inside of Object properties as keys. We look at some well-known Symbols like Symbol.iterator and how we can use it with Generators to iterate over custom Objects.

This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development:    • Javascript In Depth  

Chapters:
00:00 Introduction
00:45 Primitives Recap
01:53 What are Symbols?
03:37 Creating a Symbol
05:46 Symbols Code Example
10:00 "Special" Property Keys
10:59 "Special" Object Keys Code Example
15:11 Symbols as Object Keys
16:56 Symbols as Object Keys Code Example
20:14 Well-known Symbols
23:25 Symbol.iterator Object Key
27:05 Next Steps

📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-...
💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader  

コメント