Javascript as a Standalone Language: Modules and Async Functions

Опубликовано: 01 Февраль 2024
на канале: Prof. Obetz
204
3

In this video, we talk about the module system in Javascript and see how we can import modules to make additional functions available to us, either from another file or from the standard library. We also explore how asynchronous behavior can be handled with callbacks or promises (including by using the await keyword.)

0:00 Introduction
01:13 Importing 'fs'
03:22 Callback functions
07:28 Exporting from files
10:14 Promises
12:32 Aside about Array.map()
13:00 Chaining promises together
14:39 Composing promises with Promise.all()
17:21 Aside about Array.reduce()
18:40 Finishing promise composition
20:02 Await/Async
25:56 Summary and Recap


На этой странице сайта вы можете посмотреть видео онлайн Javascript as a Standalone Language: Modules and Async Functions длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Prof. Obetz 01 Февраль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 204 раз и оно понравилось 3 зрителям. Приятного просмотра!