0
Which parts does the event loop consist of?
Which parts does the event loop consist of?
2 ответов
+ 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
+ 1
Vaibhav Singh thank you!
But maybe you know what parts it consists of?