Can multiple promises be chained together in Javascript?
I don't understand the order in which tasks are sent to the microtasks queue. I expected this output: 1, 11, 111, 2, 3, 12, 122 But received: 1, 11, 111, 2, 12, 122, 3 Does compiler register the whole chain…