0

Which parts does the event loop consist of?

Which parts does the event loop consist of?

28th Feb 2022, 9:56 PM
PR PRGR
PR PRGR - avatar
2 odpowiedzi
+ 3
the event loop is a programming construct or design pattern that waits for and dispatches events or messages in a program. function foo(b) { let a = 10 return a + b + 11 } function bar(x) { let y = 3 return foo(x * y) } const baz = bar(7) // assigns 42 to baz
28th Feb 2022, 10:21 PM
Vaibhav
Vaibhav - avatar
+ 1
Vaibhav Singh thank you! But maybe you know what parts it consists of?
1st Mar 2022, 11:23 PM
PR PRGR
PR PRGR - avatar