Telegram Group & Telegram Channel
Урок 14 (TypeScript)

Объекты, индексный тип, оператор "in", цикл "for ... in"

Ссылка на видео
Методичка в notion: Объекты

00:00 - что будем делать
00:41 - что такое объект
02:46 - синтаксис создания объекта
03:40 - добавляем информацию в объект
04:43 - аннотация типов к объекту
05:48 - получение значений по ключу "через точку"
06:42 - индексный тип
12:53 - добавление свойств в объект (3 способа)
16:21 - удаление свойств
17:33 - ключ из нескольких слов. Получение значений по ключу "через квадратные скобки"
P.S. "квадратные кавычки" обозвал как только мог. Получилось забавно
20:01 - висячая запятая
21:08 - изменение константных объектов
22:04 - вычисляемые свойства объекта
23:52 - выражения внутри ключей
24:42 - свойства из переменной
27:38 - ограничения на название ключей
29:25 - почему нельзя использовать proto как ключ
30:25 - оператор in
32:38 - перебор ключей объекта циклом for ... in
37:06 - как работает as keyof
38:49 - дополнительные материалы и практика
40:18 - итоги

SemolinaCode | Chat | YouTube | HowToCode | Prop



tg-me.com/semolina_code_python/121
Create:
Last Update:

Урок 14 (TypeScript)

Объекты, индексный тип, оператор "in", цикл "for ... in"

Ссылка на видео
Методичка в notion: Объекты

00:00 - что будем делать
00:41 - что такое объект
02:46 - синтаксис создания объекта
03:40 - добавляем информацию в объект
04:43 - аннотация типов к объекту
05:48 - получение значений по ключу "через точку"
06:42 - индексный тип
12:53 - добавление свойств в объект (3 способа)
16:21 - удаление свойств
17:33 - ключ из нескольких слов. Получение значений по ключу "через квадратные скобки"
P.S. "квадратные кавычки" обозвал как только мог. Получилось забавно
20:01 - висячая запятая
21:08 - изменение константных объектов
22:04 - вычисляемые свойства объекта
23:52 - выражения внутри ключей
24:42 - свойства из переменной
27:38 - ограничения на название ключей
29:25 - почему нельзя использовать proto как ключ
30:25 - оператор in
32:38 - перебор ключей объекта циклом for ... in
37:06 - как работает as keyof
38:49 - дополнительные материалы и практика
40:18 - итоги

SemolinaCode | Chat | YouTube | HowToCode | Prop

BY Semolina Code (Python / TypeScript)




Share with your friend now:
tg-me.com/semolina_code_python/121

View MORE
Open in Telegram


telegram Telegram | DID YOU KNOW?

Date: |

Launched in 2013, Telegram allows users to broadcast messages to a following via “channels”, or create public and private groups that are simple for others to access. Users can also send and receive large data files, including text and zip files, directly via the app.The platform said it has more than 500m active users, and topped 1bn downloads in August, according to data from SensorTower.

Telegram auto-delete message, expiring invites, and more

elegram is updating its messaging app with options for auto-deleting messages, expiring invite links, and new unlimited groups, the company shared in a blog post. Much like Signal, Telegram received a burst of new users in the confusion over WhatsApp’s privacy policy and now the company is adopting features that were already part of its competitors’ apps, features which offer more security and privacy. Auto-deleting messages were already possible in Telegram’s encrypted Secret Chats, but this new update for iOS and Android adds the option to make messages disappear in any kind of chat. Auto-delete can be enabled inside of chats, and set to delete either 24 hours or seven days after messages are sent. Auto-delete won’t remove every message though; if a message was sent before the feature was turned on, it’ll stick around. Telegram’s competitors have had similar features: WhatsApp introduced a feature in 2020 and Signal has had disappearing messages since at least 2016.

telegram from cn


Telegram Semolina Code (Python / TypeScript)
FROM USA