Are you confused by the JavaScript event loop and how it handles asynchronous code? This animation will help explain how the event loop works through an easy-to-grasp analogy.
doctorcode
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π2π₯1
What is the output?
Anonymous Quiz
47%
"The-quick-brown-fox-jumps-over-the-lazy-dog"
25%
"quick-brown-jumps-over-lazy"
18%
"The-fox-over-the-dog"
11%
Error
π9π₯2π€2π€£2β€1
Please open Telegram to view this post
VIEW IN TELEGRAM
π29β€5π₯3π€©2
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯5π2
Please open Telegram to view this post
VIEW IN TELEGRAM
π26π€£3β€2π₯2
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π€£3
π5π₯4π€4β€3
Please open Telegram to view this post
VIEW IN TELEGRAM
π€7β€6π3π€©1
What is the output?
Anonymous Quiz
36%
["Bob", "John", "Alice"]
42%
["Alice", "John", "Bob"]
14%
["John", "Alice", "Bob"]
8%
["Bob", "Alice", "John"]
π8β€2π€©1
A practical look at the idea of explicit resource management, an idea both currently at stage 3 in TC39 (and partly supported in TypeScript 5.2) that makes it easier to βclean upβ resources once they are no longer used or needed.
ILIA POZDNYAKOV
Please open Telegram to view this post
VIEW IN TELEGRAM
β€5π₯3π2
What is the output?
Anonymous Quiz
22%
[0, 0, 0, 0, 0]
28%
[0, 1, 2, 3, 5]
27%
[1, 2, 3, 5, 8]
23%
[0, 1, 1, 2, 3]
π5π€5β€3π₯3
This overview is targeted at Django (i.e. Python) developers but if you, too, want to avoid larger frameworks like React or Angular, you might appreciate this look at numerous alternatives from Stimulus and htmx to more oblique options like Laravel Livewire.
MICHAEL YIN
Please open Telegram to view this post
VIEW IN TELEGRAM
π6π₯3β€2
π6β€3π₯2
The long standing State of JavaScript survey is back for another run at figuring out what the community is up to and what tools weβre using. The results are always illuminating and weβll share the tastiest parts once available.
DEVOGRAPHICS
Results:
State of JavaScript 2022
State of JavaScript 2021
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4π2π€©2
Please open Telegram to view this post
VIEW IN TELEGRAM
π1π€©1
What is the output?
Anonymous Quiz
15%
[4, 2, 6]
56%
[2, 4, 6]
15%
[1, 2, 3]
15%
[undefined, undefined, undefined]
π₯5β€3π2